Do any xslt processors cache xsl:include? If not, what strategies can
one use to speed this process up?
I like to modularize and reuse templates throughout my application. It
seems that xsl:include doesn't cache include files and everything is
brought in file by file at compile time. Having to stuff one stylesheet
with every callable template in my application reads like a monolithic
tome.
What would be nice is if we had something simple like this with a 1MB
cache setting:
<xsl:include href="foobar.xslt" cache="yes"/>
<xsl:include href="foobar.xslt" cache="no"/>
.
.
<xsl:include href="doh.xslt" cache="yes"/>
Also, is there a mechanism to allow for stylesheets to be included at
the point of request instead of having include being at the root?
For example, PHP's require_once/include_once is a very nice feature.
--------------------------
Kerry Kobashi
Kobashi Computing
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--