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

Re: how to clear document buffer

Subject: Re: how to clear document buffer
From: Mike Brown <mike@xxxxxxxx>
Date: Wed, 6 Nov 2002 22:40:14 -0700 (MST)
clear xsl cache
Mike Brown wrote:
> "Two documents are treated as the same document if they are
> identified by the same URI".
> 
> Have you investigated what it would take to extend the URI resolver class that
> your XSLT processor uses? This varies from processor to processor, but if you
> can do that, then you could make your own URI scheme, and have your resolver
> process your custom URIs as necessary. The main thing the class need to do is
> find the right document and return it as a stream. Check your processor docs.

I forgot to mention, your XSLT processor might still cache the result of the 
document() call even if you use a custom URI scheme; you'll need to ensure 
that the URIs are different each time. You can just make it part of your 
scheme... like 
document('myscheme:/IgnoreThis123/some%20key') would return the root node of 
the document your resolver got from the db using "some key".


   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/

 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.