[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 19:06:45 +0100
saxon vbscript
> If you have a 1000 page book and you want to look at the index
> (assuming this index is in the source file, not generated on 
> the fly by
> the stylesheet) Then in a side effect free language you can start
> processing the nodes for the index and just process earlier nodes if
> explicitly referenced. With a saxon stylesheet you would 
> presumably have
> to process the entire book to make sure that any state variable are
> correctly initialised before you start the index.

With XSL today, if the style sheet asks for the whole book to be processed,
you have to process it. If it doesn't, you don't.  Global variables don't
affect this.

If XSL is extended to allow a stylesheet to be called to process a node in
the source document other than the root (e.g., the table of contents), then
granted, updateable global variables could cause problems. Local updateable
variables might still be manageable.

Don't get me wrong, I like the elegance of functional programming even if
I'm unpractised in the art. Trouble is, we're catering for a user community
that takes VBScript as its yardstick, and I think a lot of the questions on
this list suggest that there's a mismatch between the design of the language
and the skill level of the intended users. 

I put updatable variables into SAXON one morning when I was feeling
frustrated, just to see what the reaction would be: if they turn out to be a
bad idea, we will all have learnt something.

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.