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

RE: saxon impressions

Subject: RE: saxon impressions
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 9 Jul 1999 15:10:27 +0100
RE: saxon impressions
> How do these saxon variables work? Do you mean that you can set a
> variable in one template and see that value while executing another?

Yes, if it's a global variable. (But lexical scope rules still apply).
> 
> Doesn't that force a particular order on the way that the 
> templates are
> applied to the source document, something that is not needed (and not
> specified) as the standard templates are side effect free?
> 
Yes, it constrains the processing to be in the natural sequential order.
Like most other languages I use every day!

(When I asked the question on this list, what is it about stylesheets that
makes the side-effect-free processing model particularly suitable, I got one
response that made sense: the potential for partial regeneration of an
output document if part of the source document changes. My current feeling
is that the mental contortions needed to write transformations in a
side-effect-free way are a heavy price to pay for that feature. But having
said that, I'm slowly learning to live without updatable variables in real
stylesheets, so I think the question is open.)

Mike Kay


 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.