[xsl] Saxon 6.0.2 : How does it handle caching and <xsl:include>

Subject: [xsl] Saxon 6.0.2 : How does it handle caching and <xsl:include>
From: "Ted Rice" <trr@xxxxxxxxx>
Date: Thu, 21 Dec 2000 13:33:39 -0000
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@xxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread