Subject: Re: Re: Re: Reference to variable cannot be resolved.
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Sat, 15 Feb 2003 13:08:46 +0100
|
> What I'm saying is that at run-time, there is no difference between
> evaluating
>
> <xsl:variable name="y" select="2"/>
> <xsl:variable name="x" select="$y+2"/>
>
> and
>
> <xsl:variable name="x" select="2"/>
> <xsl:variable name="x" select="$x+2"/>
>
> The second variable can't be evaluated until after the first one is
> evaluated in either of these cases; allowing the two variables to have
> the same name makes no difference to the constraints on order of
> evaluation.
>
How would one know that "this x" is not "that x" -- imagine that within a
hundred or so siblings...
This is a nightmare for understanding, debugging and maintenance.
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: Re: Reference to variable cannot be resolved., (continued)
- Dimitre Novatchev - Fri, 14 Feb 2003 15:06:52 -0500 (EST)
- Michael Kay - Sat, 15 Feb 2003 03:25:04 -0500 (EST)
- Dimitre Novatchev - Sat, 15 Feb 2003 04:16:17 -0500 (EST)
- Michael Kay - Sat, 15 Feb 2003 06:20:56 -0500 (EST)
- Dimitre Novatchev - Sat, 15 Feb 2003 07:28:04 -0500 (EST) <=
- Américo Albuquerque - Sat, 15 Feb 2003 09:54:12 -0500 (EST)
- Michael Kay - Mon, 17 Feb 2003 03:54:26 -0500 (EST)
- Américo Albuquerque - Mon, 17 Feb 2003 05:40:13 -0500 (EST)
- Michael Kay - Mon, 17 Feb 2003 07:22:45 -0500 (EST)
|
|