svn commit: samba-docs r417 - in trunk/xslt: .
jelmer at samba.org
jelmer at samba.org
Mon Mar 14 17:53:01 GMT 2005
Author: jelmer
Date: 2005-03-14 17:53:01 +0000 (Mon, 14 Mar 2005)
New Revision: 417
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-docs&rev=417
Log:
Fix links for smbconfoptions.
Modified:
trunk/xslt/expand-sambadoc.xsl
Changeset:
Modified: trunk/xslt/expand-sambadoc.xsl
===================================================================
--- trunk/xslt/expand-sambadoc.xsl 2005-03-14 17:07:57 UTC (rev 416)
+++ trunk/xslt/expand-sambadoc.xsl 2005-03-14 17:53:01 UTC (rev 417)
@@ -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>
More information about the samba-cvs
mailing list