[xsl] document() function caching?

Subject: [xsl] document() function caching?
From: Bill French <bfh@xxxxxxxxxxxxx>
Date: Thu, 31 Jan 2008 09:40:08 -0800
Hi all,

We're using Saxon 8 in a servlet hosted within a Tomcat 5.5 environment, transforming XML into XHTML via XSLT 2.0.

We've recently had to integrate our product with a client's web portal. The client uses web services to serve up HTML components, e.g., document headers & footers. The HTML components are dynamically created dependent on the user who's logged in. The rules governing who can see what change quite often.

We're using the XSLT document function to call the web services. Here's an example:

<xsl:copy-of select="document('http://HOST/webservices/navigation/GetPortalFooter')"/>

A developer on our client's side made changes to the web service but they weren't realized in the application until Tomcat was restarted. So, the question: does Saxon 8 cache results of document() function calls? If so, how would I disable this?

Thanks in advance for reading/responding.



Current Thread