This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Data in Stylesheets [was: Comments affect Performance?]
- To: xsl-list at mulberrytech dot com
- Subject: Data in Stylesheets [was: Comments affect Performance?]
- From: Warren Hedley <w dot hedley at auckland dot ac dot nz>
- Date: Wed, 27 Sep 2000 09:45:27 -0400
- Organization: The Department of Engineering Science, The University of Auckland
- References: <MIEDKHNBCLIBFPAPHBAFAEBJCAAA.paul@bridge-way.com>
- Reply-To: xsl-list at mulberrytech dot com
Kay Michael wrote:
>
> When the stylesheet is accessed as a source document (using document(""))
> the same rules for whitespace and comments apply as for any other source
> document. In Saxon, this means the stylesheet is re-parsed and a separate
> tree is built.
That's interesting. Does that mean that storing information in the stylesheet
document, a common suggestion for solving search and replace problems, is
probably not very efficient, because the processor is actually re-loading
the stylesheet?
If that's the case, is it good practice to store this data in a separate
file in the same directory as a stylesheet? Anyone got any tips on good
practice.
--
Warren Hedley
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list