cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <ovi...@cup.hp.com>
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 <ow5@poczta.onet.pl> 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
object.

Regards,
-- 
Ovidiu Predescu <ovidiu@cup.hp.com>
http://orion.nsr.hp.com/ (inside HP's firewall only)
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message