jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gl...@apache.org
Subject cvs commit: jakarta-taglibs/src/doc/stylesheets taglibs.xsl
Date Fri, 29 Jun 2001 11:44:48 GMT
glenn       01/06/29 04:44:48

  Modified:    src/doc/stylesheets taglibs.xsl
  Log:
  Fixed generation of links
  
  Revision  Changes    Path
  1.8       +7 -4      jakarta-taglibs/src/doc/stylesheets/taglibs.xsl
  
  Index: taglibs.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/src/doc/stylesheets/taglibs.xsl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- taglibs.xsl	2001/06/17 07:29:41	1.7
  +++ taglibs.xsl	2001/06/29 11:44:48	1.8
  @@ -1,6 +1,6 @@
   <?xml version="1.0" encoding="ISO-8859-1"?>
   <!-- Content Stylesheet for Taglibs Documentation -->
  -<!-- $Id: taglibs.xsl,v 1.7 2001/06/17 07:29:41 glenn Exp $ -->
  +<!-- $Id: taglibs.xsl,v 1.8 2001/06/29 11:44:48 glenn Exp $ -->
   
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     version="1.0">
  @@ -93,10 +93,12 @@
         </tr>
         <xsl:choose>
           <xsl:when test="@local='true'">
  -          <xsl:apply-templates/>
  +          <xsl:apply-templates select="item">
  +            <xsl:with-param name="urlprefix" select="$prefix"/>
  +          </xsl:apply-templates>
           </xsl:when>
           <xsl:otherwise>
  -          <xsl:apply-templates/>
  +          <xsl:apply-templates select="item"/>
           </xsl:otherwise>
         </xsl:choose>
       </table>
  @@ -104,6 +106,7 @@
   
     <!-- Process a menu item for the navigation bar -->
     <xsl:template match="item">
  +    <xsl:param name="urlprefix"></xsl:param>
       <tr>
         <td align="center" width="15"></td>
         <td>
  @@ -111,7 +114,7 @@
           <xsl:variable name="href">
             <xsl:value-of select="@href"/>
           </xsl:variable>
  -        <a href="{$prefix}{$href}"><xsl:value-of select="@name"/></a>
  +        <a href="{$urlprefix}{$href}"><xsl:value-of select="@name"/></a>
           </font>
         </td>
       </tr>
  
  
  

Mime
View raw message