cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <>
Subject Re: xsl include and performance
Date Tue, 05 Jun 2001 18:51:22 GMT
On Tue, 05 Jun 2001 20:22:31 +0200, Oskar Werewka <> wrote:

> Does the use of xsl include affects much performance?
> If it is used once COCOON will cache somehow the
> combined style sheet or will read the source files each time?

The XSLT processor creates a Templates instance for the whole,
combined stylesheet, including all of the xsl:included documents,
e.g. the transitive closure. That's why the XSLT specification doesn't
allow for something like:

<xsl:include href="$param"/>

Cocoon caches the resultant Templates object; however it's unclear to
me right now if the caching mechanism is able to detect modifications
of the included documents, and correctly regenerate the Templates

Ovidiu Predescu <> (inside HP's firewall only) (GNU, Emacs, other stuff)

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message