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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--