RE: XML Caching in Saxon ??

Subject: RE: XML Caching in Saxon ??
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 28 Nov 2000 15:57:28 -0000
> Is there anyway to cache the parsed DOM and
> pass the root node to the transform function within Saxon.

Use the Saxon Builder class to build the tree structure, and pass it into
the transformDocument() method to do the transformation, as often as you

With Saxon 6.0, be aware of the rule that all documents participating in a
transformation must be built using the same NamePool.

Building the tree tends to be 30% - 50% of the total transformation time:
check by using the -t option - so the saving may not be enough for you. But
if the transformation is selecting a small part of the tree, the savings
could be much bigger.

Mike Kay

 XSL-List info and archive:

Current Thread