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

Re: xsl include doesn't check and reload included docu

Subject: Re: xsl include doesn't check and reload included document?!?
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Thu, 23 Jan 2003 18:06:53 +0100
cocoon xsl include
Hello Thomas,

please move to cocoon-users@xxxxxxxxxxxxxx (http://xml.apache.org/cocoon/mail-lists.html)for more on this topic, it's only Cocoon-related.

touch is a Linux' system command, which sets the file time to the current time. So the cache of the XSL is invalidated. The other possibilities are to re-save the XSL or using a non-caching pipeline in Cocoon (only Cocoon 2.1 I think).

If this is not only for debugging purposes, but important for the later working of the application, I definitely prefer the sitemap aggregation. Invalidating the cache for getting around this bug is leading the caching mechanism ad absurdum. Hope i could convince you ;-)

Waiting for you at cocoon users mailing list ...

Joerg


Thomas Sandor wrote:
hi,

I'm using the following line to include another xml in my XSLT file:
    <xsl:apply-templates select="document(include/@url)" mode="include" />

and the template section start as follows:
<xsl:template match="categories" mode="include">...</xsl:template>

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.
I emptyed the catalina work directory. So I don't see from where gets cocoon
the cached document.

How can I force Cocoon or the XSLT to really check and if changed, read the
included document??

any help is appreciated.
Thanks,
Thomas


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.