ovidiu      02/04/15 17:44:24

  Modified:    src/documentation/stylesheets/printer_skin 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.2       +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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- book2menu.xsl     8 Jan 2002 10:34:06 -0000       1.1
  +++ book2menu.xsl     16 Apr 2002 00:44:24 -0000      1.2
  @@ -35,7 +35,7 @@
        <tr>
         <td align="left" valign="top">
          <xsl:choose>
  -         <xsl:when test="@href=$resource">
  +         <xsl:when test="contains(@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]

Reply via email to