crossley 02/04/30 01:07:16
Modified: src/documentation/stylesheets/printer_skin book2menu.xsl
Log:
Fixing the last edit, which introduced a bug on the home-page when the
menu link contains index.html
PR: 8556
Obtained from: [EMAIL PROTECTED]
Revision Changes Path
1.3 +1 -1
xml-cocoon2/src/documentation/stylesheets/printer_skin/book2menu.xsl
Index: book2menu.xsl
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/documentation/stylesheets/printer_skin/book2menu.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- book2menu.xsl 16 Apr 2002 00:44:24 -0000 1.2
+++ book2menu.xsl 30 Apr 2002 08:07:16 -0000 1.3
@@ -35,7 +35,7 @@
<tr>
<td align="left" valign="top">
<xsl:choose>
- <xsl:when test="contains(@href, $resource)">
+ <xsl:when test="starts-with(@href, $resource)">
<xsl:value-of select="@label"/>
</xsl:when>
<xsl:otherwise>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]