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

RE: Globals in xsl:script

Subject: RE: Globals in xsl:script
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 29 Sep 1999 11:21:05 +0100
xslt globals
> I have a concern about globals in xsl:script.  Any
> thoughts would be appreciated.

Yes, you're right to identify this problem. XSL is side-effect-free (with
the odd exception like xsl:message) unless you invoke extension functions
that have side-effects. The effect of doing this is not defined. Neither xt
nor SAXON, for example, specifies exactly what order things will happen in,
and I am fairly sure that it is different between the two products.

My approach in SAXON has been rather pragmatic: allow side-effects in
extension functions (and extension elements) and let the user worry about
the consequences.

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.