ovidiu      02/04/15 17:43:59

  Modified:    src/documentation/stylesheets book2menu.xsl
  Log:
  Test whether the 'resource' is included in @href, instead of an exact
  match. This allows for the complete URL to be specified in the 'href'
  attribute in the <menu-item> element.
  
  Revision  Changes    Path
  1.4       +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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- book2menu.xsl     17 Mar 2002 17:42:11 -0000      1.3
  +++ book2menu.xsl     16 Apr 2002 00:43:59 -0000      1.4
  @@ -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="@href=$resource">
  +         <xsl:when test="contains(@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]

Reply via email to