RE: Variable Scoping

Subject: RE: Variable Scoping
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 3 Nov 1999 16:03:56 -0000
> $ saxon test.xml test.xsl Error
> processing source document At xsl:variable on line 8 of
> file:/home/clark/test.xsl: Local variable x is already declared 
> 
> $ xt test.xml test.xsl
> Inner
> 
> Which one is correct?
> 
Section 11.5 is explicit that a variable declared within a template may not
"shadow" another variable with the same name that is also declared within
the same template.

Mike Kay


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


Current Thread