Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] Variable and parameter with same name and scope allowed in 2.0 [Thread Next] Re: [xsl] Variable and parameter with same name and scope allowed in 2.0To: Date: 5/2/2006 1:46:00 PM > 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 ________________________________________________________________________ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
