summaryrefslogtreecommitdiff
path: root/docs/xslt/expand-sambadoc.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'docs/xslt/expand-sambadoc.xsl')
-rw-r--r--docs/xslt/expand-sambadoc.xsl8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/xslt/expand-sambadoc.xsl b/docs/xslt/expand-sambadoc.xsl
index cd0b9a0daa..aa7d54c0f7 100644
--- a/docs/xslt/expand-sambadoc.xsl
+++ b/docs/xslt/expand-sambadoc.xsl
@@ -133,13 +133,13 @@
<xsl:attribute name="moreinfo">
<xsl:text>none</xsl:text>
</xsl:attribute>
- <xsl:value-of select="name"/>
+ <xsl:value-of select="@name"/>
</xsl:element>
<xsl:choose>
- <xsl:when test="value != ''">
+ <xsl:when test="text() != ''">
<xsl:text> = </xsl:text>
- <xsl:value-of select="value"/>
+ <xsl:value-of select="text()"/>
</xsl:when>
</xsl:choose>
</xsl:variable>
@@ -151,7 +151,7 @@
<xsl:otherwise>
<xsl:element name="link">
<xsl:attribute name="linkend">
- <xsl:value-of select="translate(translate(string(name),' ',''),'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>
+ <xsl:value-of select="translate(translate(string(@name),' ',''),'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>
</xsl:attribute>
<xsl:value-of select="$linkcontent"/>
</xsl:element>