cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: users Digest 17 Dec 2003 21:47:17 -0000 Issue 2422
Date Thu, 18 Dec 2003 18:04:50 GMT
James Cummings wrote:
> <xsl:copy-of select="document('../../html/header.xml')"/>
> 
> Why isn't this recommended?  It seems to fail absolutely fine with
> no side effects if header.xml doesn't exist or is not well-formed.
> (i.e. it just isn't included). Is there something bad about it
> I'm not seeing?

Changing the header.xml does not invalidate the cached result,
which is sent to the browser until the main source, the style
sheet or any other component recognized by the caching mechanism
changes. There are other reasons as well.

J.Pietschmann


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


Mime
View raw message