summaryrefslogtreecommitdiff
path: root/docs/xslt/sambadoc2pearson.xsl
diff options
context:
space:
mode:
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>