xsl-list
[Top] [All Lists]

Re: Problems incrementing a variable in a <xsl:for-each>

2002-10-23 08:19:01
100 % with you David. Just cant understand why XALAN is behaving that way.
May be some kind of bug??
Vasu
----- Original Message -----
From: "David Carlisle" <davidc(_at_)nag(_dot_)co(_dot_)uk>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Wednesday, October 23, 2002 4:11 PM
Subject: Re: [xsl] Problems incrementing a variable in a <xsl:for-each>



Just saw to my surprise that XALAN actually doesnt report any error on
redefining variables..

11.5 Variables and Parameters within Templates

....It is an error if a binding established by an xsl:variable or
xsl:param element within a template shadows another binding established
by an xsl:variable or xsl:param element also within the template.....

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list