Variable and parameter with same name and scope allowed in 2.0
the same is true of two xsl:variable with the same name. In 1.0 that was
an error but in 2.0 it's not but it's explictly flagged in the spec as
something you might not want to do:
http://www.w3.org/TR/xslt20/#dt-shadows
Example: Misuse of Variable Shadowing
The following is not an error, but the effect is probably not what was
intended.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--