> > 2. XSLT's (actually XPath's) document() function
> >
> > The document() function allows you to access more than one 
> xml source
> > file from within a XSLT.  See for example the "styleless stylesheet"
> > approach (it was on some blog... I don't have the link 
> handy right now)
> 
> Hi guys,
> 
> The use of document() in Cocoon is discouraged, because it 
> doesn't play 
> nice with cache validity.  If the content supplied by the included 
> resource changes, Cocoon has no way of knowing it and will 
> serve stale 
> content from the cache.  At least, that was the case at one time, and 
> as far as I know it still is.

Yes it still is, and I do not see it changed in near future. There is no real 
solution for it at the moment. 

Ard


> best regards,
> —ml—
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to