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

Re: Future XSLT expansion.

Subject: Re: Future XSLT expansion.
From: "Jon Smirl" <jonsmirl@xxxxxxxxxxxx>
Date: Sat, 18 Mar 2000 14:46:40 -0500
xslt double parse
From: "Jonathan Borden" <jborden@xxxxxxxxxxxx>
> why not: <xsl:apply-templates select="document('data.xml')/mydata" />? I
> would argue that it is 'cleaner' to factor data out of the transform sheet
> itself, but regardless it also avoids the double parse issue.

My stylesheets are data driven. I use xsl:include to bring in a general set
of XML transforms and then I use the static data in the main sheet to
control the behavior of the included generalized XSL. I'd rather have the
static XML in the stylesheet because this is where it conceptually belongs.
It not really 'data' it's more like a higher level stylesheet language than
XSL.

I may split this out into a separate file anyway since document('') is
inefficient because of the double parse. When I initially designed the
system I was unaware of this behavior and I thought I was being efficient by
using data that already was in memory.

Jon Smirl
jonsmirl@xxxxxxxxxxxx



 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.