diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-03-12 22:34:38 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:46:19 -0500 |
commit | 9c72dd78f25be4a7ffa5af5a242670ec76930d6f (patch) | |
tree | 719cf9faacc847b400354a33bfdf5a2d2cee4ca7 /docs/xslt/sambadoc2pearson.xsl | |
parent | 50834aa64b51b039724b34eb491013c4323946ff (diff) | |
download | samba-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.xsl | 8 |
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> </xsl:text> + <xsl:text> </xsl:text><xsl:value-of select="@name"/><xsl:text> = </xsl:text><xsl:value-of select="text()"/><xsl:text> </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> </xsl:text> </xsl:template> |