blob: 9421721e0a08b5aed93246432b316df608c1a905 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="text" indent="no" />
<xsl:template match="/">
#!/bin/bash
<xsl:apply-templates />
</xsl:template>
<xsl:template match="property">
export nsc_<xsl:value-of select="substring-after(@name,'nsc.')" />=<xsl:value-of select="@value"/>
</xsl:template>
</xsl:stylesheet>
|