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

Re: new release of the XSLT book/caching included XSLT

Subject: Re: new release of the XSLT book/caching included XSLT sheets withthe JAXP API
From: David_N_Bertoni@xxxxxxxxx
Date: Fri, 4 May 2001 10:55:52 -0400
xslt and template caching
Ovidiu Predescu <ovidiu@xxxxxxxxxx> wrote:
> Anyway, while reading the JAXP section, I suddenly realized there is
> no way to cache included stylesheets using the URIResolver and
> Templates classes.
>
> JAXP allows one to cache the root stylesheet using a Templates object,
> but for any included/imported stylesheets I didn't see any way to
> cache them using a Templates object. This is especially true if I have
> my own URI which needs to be resolved through a special URIResolver:
> the interface includes only a resolve() method that returns a Source
> object. If my included/imported XSLT sheet is a local file on the
> disk, how can I reuse the probably already parsed template?

This is probably implementation dependent, but Xalan "compiles" the main
stylesheet and all of the imported and included stylesheets into the
Templates object.

I believe Saxon does this as well, but I'm not sure.

Dave


 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.