Re: [xsl] xsl include doesn't check and reload included document?!?

Subject: Re: [xsl] xsl include doesn't check and reload included document?!?
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Thu, 23 Jan 2003 14:39:36 +0200
Thomas Sandor wrote:

 I'm using the following line to include another xml in my XSLT file:
     <xsl:apply-templates select="document(include/@url)" mode="include" />
Well, I wouldn't call it include, it's just retriving one more source xml document.

 The problem is that when I change something in the included document,
 nothing happens, by the transformer, it uses the same previous state. I can
 only make it awake by redeploying the whole ear.
Where do you store the document referenced by "include/@url"? It's retrieved at transformation time and I have no idea how come it can be cached between transformations - you'd better ask at tomcat-user or cocoon-user mail list how to control the caching.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread