And more fixes for slashes: use <literal/> in <command/> and <value/> automatically
authorAlexander Bokovoy <ab@samba.org>
Wed, 6 Jun 2007 15:46:26 +0000 (15:46 +0000)
committerGerald W. Carter <jerry@samba.org>
Wed, 23 Apr 2008 13:47:33 +0000 (08:47 -0500)
(This used to be commit 587b3b5f6f6b1258415aded70ef6e84e811d25bf)

docs/xslt/expand-smbconfdoc.xsl

index 6162f73169a4e2d79e54b077be8ad1ec996e1084..8cad9b832840d15d0ad34727aeebf399ea545094 100644 (file)
@@ -12,7 +12,9 @@
 
        <xsl:template match="description"><xsl:apply-templates/></xsl:template>
 
-       <xsl:template match="value"><xsl:apply-templates/></xsl:template>
+       <xsl:template match="value"><xsl:element name="literal"><xsl:apply-templates/></xsl:element></xsl:template>
+       
+       <xsl:template match="command"><xsl:element name="literal"><xsl:apply-templates/></xsl:element></xsl:template>
 
        <xsl:template match="synonym"><xsl:apply-templates/></xsl:template>