summaryrefslogtreecommitdiff
path: root/docs/xslt/sambadoc2pearson.xsl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-03-12 22:34:38 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:19 -0500
commit9c72dd78f25be4a7ffa5af5a242670ec76930d6f (patch)
tree719cf9faacc847b400354a33bfdf5a2d2cee4ca7 /docs/xslt/sambadoc2pearson.xsl
parent50834aa64b51b039724b34eb491013c4323946ff (diff)
downloadsamba-9c72dd78f25be4a7ffa5af5a242670ec76930d6f.tar.gz
samba-9c72dd78f25be4a7ffa5af5a242670ec76930d6f.tar.bz2
samba-9c72dd78f25be4a7ffa5af5a242670ec76930d6f.zip
Use new definition of <smbconfoption>, fixes a bunch of
validity errors. (This used to be commit 3eb5c35e47951f320f7c2f4cd478a95f6d48236e)
Diffstat (limited to 'docs/xslt/sambadoc2pearson.xsl')
-rw-r--r--docs/xslt/sambadoc2pearson.xsl8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/xslt/sambadoc2pearson.xsl b/docs/xslt/sambadoc2pearson.xsl
index d98e4485f0..23bc30985c 100644
--- a/docs/xslt/sambadoc2pearson.xsl
+++ b/docs/xslt/sambadoc2pearson.xsl
@@ -23,7 +23,7 @@
</xsl:template>
<xsl:template match="smbconfexample/smbconfoption|smbconfblock/smbconfoption">
- <xsl:text> </xsl:text><xsl:value-of select="name"/><xsl:text> = </xsl:text><xsl:value-of select="value"/><xsl:text>&#10;</xsl:text>
+ <xsl:text> </xsl:text><xsl:value-of select="@name"/><xsl:text> = </xsl:text><xsl:value-of select="text()"/><xsl:text>&#10;</xsl:text>
</xsl:template>
<xsl:template match="smbconfexample">
@@ -78,10 +78,10 @@
</xsl:template>
<xsl:template match="smbconfoption">
- <code><xsl:value-of select="name"/></code>
- <xsl:if test="value != ''">
+ <code><xsl:value-of select="@name"/></code>
+ <xsl:if test="text() != ''">
<xsl:text> = </xsl:text>
- <xsl:value-of select="value"/>
+ <xsl:value-of select="text()"/>
</xsl:if>
<xsl:text>&#10;</xsl:text>
</xsl:template>