Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] Variable and parameter with same name and scope allowed in 2.0

From: Florent Georges <darkman_spam@-------->
To:
Date: 5/2/2006 2:36:00 PM
David Carlisle wrote:

> <xsl:variable name="x"/>
> <xsl:if test="true()">
> <xsl:variable name="x"/>
> </xsl:if>

> is an error but

> <xsl:if test="true()">
> <xsl:variable name="x"/>
> </xsl:if>
> <xsl:variable name="x"/>

> is not.

  Interesting.  I always read '11.5, "Variables and Parameters within
Templates" [XSLT 1.0] as "using wo variables or parameters of the same
name in the same template is an error".

  Thanks for the correction.

  Regards,

--drkm
























	

	
		
___________________________________________________________________________ 
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services prifiris : virifiez vos nouveaux mails, lancez vos recherches et suivez l'actualiti en temps riel. 
Rendez-vous sur http://fr.yahoo.com/set


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent