Note that XSLT 2.0 (per the November 15 WD) changes this so that
shadowing a local variable is not an error, though it is discouraged:
http://www.w3.org/TR/xslt20/#dt-shadows
This is really horrible.
Why should a language support a practice that must be discouraged?
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list