crossley 02/04/29 18:32:19 Modified: src/documentation/stylesheets book2menu.xsl Log: Fixing the last edit, which introduced a bug on the home-page when the menu link contains index.html Revision Changes Path 1.5 +1 -1 xml-cocoon2/src/documentation/stylesheets/book2menu.xsl Index: book2menu.xsl =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/stylesheets/book2menu.xsl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- book2menu.xsl 16 Apr 2002 00:43:59 -0000 1.4 +++ book2menu.xsl 30 Apr 2002 01:32:19 -0000 1.5 @@ -38,7 +38,7 @@ <td bgcolor="#959595" valign="top"> <xsl:attribute name="background">images/label-background_a.gif</xsl:attribute> <xsl:choose> - <xsl:when test="contains(@href, $resource)"> + <xsl:when test="starts-with(@href, $resource)"> <span class="menuselected"><xsl:value-of select="@label"/></span> </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]