Subject: Re: [xsl] Variable and parameter with same name and scope allowed in 2.0 From: Florent Georges <darkman_spam@xxxxxxxx> Date: Tue, 2 May 2006 16:35:09 +0200 (CEST) |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Variable and parameter wi, David Carlisle | Thread | Re: [xsl] Variable and parameter wi, David Carlisle |
[xsl] Sudoku solver - complete, andrew welch | Date | Re: [xsl] Variable and parameter wi, Dimitre Novatchev |
Month |