RE: XML Caching in Saxon ??
> 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 like. 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: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format