xsl-list
[Top] [All Lists]

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

2003-01-23 05:39:36
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



<Prev in Thread] Current Thread [Next in Thread>