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

Re: Re: Intermediate XML file creation, was:<no subjec

Subject: Re: Re: Intermediate XML file creation, was:<no subject>
From: "Mike Haarman" <mhaarman@xxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Apr 2003 13:58:06 -0500
intermediate xml file
----- Original Message -----
From: "Andrew Kirkpatrick" <ncam_tech@xxxxxxxx>

> Is it reasonable or advantageous to create an intermediate XML file that
> incorporates new elements/attributes for the calculations so that each of
> the ultimate transformations don't need to do these calculations, or is this
> considered bad form?

XSL is a data-driven process (document order, etc.).  It is a very common
pattern to massage data for a subsequent set of templates, the prevalence of the
node-set() extension attests to this.  The good news is that chaining a pair of
Sax tranformations allows one to use this technique without the necessity of
writing a file.  I think a two-pass transformation can be at once more
maintainable, more flexible and more efficient for a class of problems.

hth,

Mike


 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.