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

Re: External XML Document Caching

Subject: Re: External XML Document Caching
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Fri, 21 Nov 2008 17:04:23 -0500
Re:  External XML Document Caching
On Nov 21, 2008, at 3:24 PM, Michael Kay wrote:

The external file is accessed via the document('...') function.

My question number 1: Do XSLT processors cache external
referenced XML files?

Probably not, but obviously it depends on the processor. However, most
processors allow you to preload the document from the calling API. You may
find it better to supply the lookup document as the value of a stylesheet
parameter; if you do it using the document() function you can implement a
URIResolver or equivalent that maintains the cache.

Or you could implement the lookup in the URIResolver itself:


document('lookup:key')

then you don't need the lookup document or use it to configure the resolver.

best,
-Rob

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.