cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
Subject RE: including multiple xml files into transformation
Date Mon, 08 Jan 2007 09:39:38 GMT

> > 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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message