DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7118>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7118 Param value clobbered when creating variable ------- Additional Comments From [EMAIL PROTECTED] 2002-03-14 13:27 ------- The problem seems to arise when using the temporary variable $initial. The following snippet works around the problem by eliminating the temporary: <xsl:message>(Before) <xsl:value-of select="$index.name"/></xsl:message> <xsl:for-each select="xalan:nodeset($sorted.sources)/article[not(substring(@code, 1, 1) = substring(preceding::article[position()=1]/@code, 1, 1))]"> <initial letter="{substring(@code,1,1)}"> <xsl:copy-of select="../article[substring(@code,1,1) = substring(current()/@code, 1, 1)]"/> </initial> </xsl:for-each> <xsl:message>(After) <xsl:value-of select="$index.name"/></xsl:message>
