Hi Geert

> > You should avoid the XSLT document() function, since it will break the
> > pipeline cacheability.
>
> Can you explain why? You can use url's that start with http:// and
cocoon://. I don't see why these
> break cacheability...

See this faq about using XSLT document() in Cocoon, which includes a mention
of this bug:
http://cocoon.apache.org/2.0/faq/faq-xslt.html#faq-6

This is the "cacheability" problem referred to:

when you execute an XSLT transform that calls the "document('foo.xml')"
method, the date stamp of the file foo.xml is not included in the
CacheValidity of the transform. So even after you modify foo.xml, the
pipeline will continue to serve the cached results.

Cheers

Con


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to