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

Lazy evaluation, was RE: value of variable inside a co

Subject: Lazy evaluation, was RE: value of variable inside a condition doesn't work?
From: "Roger Glover" <glover_roger@xxxxxxxxx>
Date: Tue, 28 Jan 2003 19:08:57 -0600
xml lazy evaluation extension
Simon Woodside wrote:

> On Tuesday, January 28, 2003, at 04:35  PM, Mike Brown wrote:
>
> > So I'm curious... which XSLT processors cache and don't lazily evaluate
> > extension functions? And aren't extension elements, in theory, in the
> > same boat? (If no one knows what I'm talking about, never mind...)
>
> I don't think this counts as lazy evaluation, does it? Lazy implies
> that it could evaluate it early, whereas here, you must evaluate when
> it's used.

Hmmm, to me lazy evaluation implies that you evaluate as late and as
infrequently as possible.  Of course, the "infrequently" part of that means
that from the perspective of second and later usages it was evaluated
"early".  However, from the perspective of first usage (usually the
perspective people use in this case), it implies "late evaluation",
evaluation could have taken place when the variable was processed, but
instead it takes place when the variable is first used.

-- Roger Glover
   glover_roger@xxxxxxxxx



 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.