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

Re: Side-effects, state, internal references

Subject: Re: Side-effects, state, internal references
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Thu, 07 May 1998 07:39:20 -0400
side effects founder
Kent Fitch wrote:
> 
> With XSL we *can* go up the XML tree to get the employee element and get
> the emp#, but having to do this on every sub-element is expensive,
> whereas
> setting a "current global employee #" and using it when outputting the
> child records is simple and fast.

Yes, but let me make a few notes:

 * XSL is not designed to be a general purpose text processing or report
writing language. *MSXSL* (the tool) can do that, and it is pretty good at
it. You should use it without guilt. Why do you care if your report
writing software runs on one processor or 100?

 * In XSL's real problem domain (where interoperability is important),
this problem is rare.

 * In a good implementation, going up to a parent node and asking its
child-number does not strike me as all that very expensive. Jade
consistently surprises me with its performance on queries that I expect to
be slow.

 Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

"Perpetually obsolescing and thus losing all data and programs every 10
years (the current pattern) is no way to run an information economy or
a civilization." - Stewart Brand, founder of the Whole Earth Catalog
http://www.wired.com/news/news/culture/story/10124.html



 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.