[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Re: Reference to variable cannot be resolved.

Subject: Re: Re: Re: Reference to variable cannot be resolved.
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Sat, 15 Feb 2003 13:08:46 +0100
 Re: Re: Re: Reference to variable cannot be resolved.
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.