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

Re: Assignment no, dynamic scoping si

Subject: Re: Assignment no, dynamic scoping si
From: Mark Nahabedian <naha@xxxxxxxxxx>
Date: Sun, 6 Jan 2002 14:42:08 -0500 (EST)
 Re: Assignment no
I've not caught up with all of my holiday email (still working around
some computer trouble) yet so I don't know if these points have
already been made, but they seem novel enough so here goes ...

Assuming the use of the XSLT "push" model, the dynamic state of the
processing is dictated by the static content of the input document.
Since the language makes no promises about the order in which sibling
(co-selected) nodes are processed, to achieve consistent results,
dynamic state could only be communicated downward, not across
siblings, which are processed "in parallel".  Thus, any data that
could be communicated through dynamic scoping could also be extracted
via the ancestor axis.  Dynamic scoping would thus only provide a
benefit if there was some complicated, expensive or redundant
calculation to be economised on either in execution time, clarity or
code space.

Rather than dynamic scoping, One could instead imagine a mechanism
that would allow one to look at the ancestors of the already computed
higher up levels of the result tree to achieve a similar affect.  One
would want a means to supress serialization of such data that was only
used for further computation and was not required in the output.


 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.