httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/docs/manual/style/xsl moduleindex.xsl
Date Thu, 09 Jan 2003 04:16:24 GMT
nd          2003/01/08 20:16:24

  Modified:    docs/manual/style/xsl moduleindex.xsl
  Log:
  fix xsl error (although xalan doesn't complain it).
  according to the spec it's not allowed to bind the same
  variable twice or more within the same scope.
  (<http://www.w3.org/TR/xslt#local-variables>)
  
  Reported by:  Michael Schr÷pl <Michael.Schroepl@telekurs.de>
  Submitted by: Astrid Ke▀ler
  Reviewed by:  /me ;-)
  
  Revision  Changes    Path
  1.8       +3 -3      httpd-2.0/docs/manual/style/xsl/moduleindex.xsl
  
  Index: moduleindex.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/moduleindex.xsl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- moduleindex.xsl	22 Dec 2002 22:45:38 -0000	1.7
  +++ moduleindex.xsl	9 Jan 2003 04:16:24 -0000	1.8
  @@ -133,14 +133,14 @@
   <xsl:text>
   </xsl:text> <!-- insert line break -->
   
  -            <xsl:variable name="modules" select="document(sitemap/category[@id='modules']/modulefilelist/modulefile)/modulesynopsis[status='MPM'
and name != 'mpm_common']"/>
  +            <xsl:variable name="mpmmodules" select="document(sitemap/category[@id='modules']/modulefilelist/modulefile)/modulesynopsis[status='MPM'
and name != 'mpm_common']"/>
               <xsl:variable name="translist">
                 <xsl:call-template name="module-translist">
  -                <xsl:with-param name="modules" select="$modules"/>
  +                <xsl:with-param name="modules" select="$mpmmodules"/>
                 </xsl:call-template>
               </xsl:variable>
   
  -            <xsl:for-each select="$modules">
  +            <xsl:for-each select="$mpmmodules">
               <xsl:sort select="substring-before(substring-after($translist, concat('-
', translate(normalize-space(name),$lowercase,$uppercase), ' ')), ' -')"/>
   
                 <dt>
  
  
  

Mime
View raw message