Subject: Re: [xsl] Variable and parameter with same name and scope allowed in 2.0 From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 2 May 2006 14:43:43 +0100 |
> 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 ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Variable and parameter wi, Florent Georges | Thread | RE: [xsl] Variable and parameter wi, Michael Kay |
RE: [xsl] Variable and parameter wi, Florent Georges | Date | Re: [xsl] treating variables like n, Esha Datta |
Month |