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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to