This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Saxon 6.0.2 : How does it handle caching and <xsl:include>
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Saxon 6.0.2 : How does it handle caching and <xsl:include>
- From: "Ted Rice" <trr at apama dot com>
- Date: Thu, 21 Dec 2000 13:33:39 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
In regards to Saxon 6.0.2 (Pure Java implementation) :
If I cache a PreparedStyleSheet created from
a StyleSheet of the following format:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="include/standard.xslt"/>
<xsl:include href="include/language-box.xslt"/>
<xsl:include href="include/login-box.xslt"/>
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
...
...
</xsl:stylesheet>
How does Saxon handle the includes? Does it:
1) Include the xlst includes the first time I create the PreparedStyleSheet
for caching and never do it again
OR
2) Include the xlst includes Every time I pull retrieve the
PreparedStyleSheet
from cache and use it
From the performance decrease i've seen using the includes, my suspcions
tell
me it is #2. If so, how can I bend Saxon to do #1.
Thanks.
---
Ted Rice
APAMA Ltd, 17 Millers Yard, Mill Lane
Cambridge CB2 1RQ, United Kingdom
Email: trr@apama.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list