You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2003/01/09 05:14:10 UTC
cvs commit: httpd-2.0/docs/manual/style/xsl moduleindex.xsl
nd 2003/01/08 20:14:10
Modified: docs/manual/style/xsl Tag: APACHE_2_0_BRANCH 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 <Mi...@telekurs.de>
Submitted by: Astrid Ke�ler
Reviewed by: /me ;-)
Revision Changes Path
No revision
No revision
1.3.2.5 +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.3.2.4
retrieving revision 1.3.2.5
diff -u -r1.3.2.4 -r1.3.2.5
--- moduleindex.xsl 22 Dec 2002 23:41:04 -0000 1.3.2.4
+++ moduleindex.xsl 9 Jan 2003 04:14:09 -0000 1.3.2.5
@@ -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>