RE: XTDE1490 and using the Saxon transformer multiple
> I want to transform a largeish number of XML instances (a few > thousand) at a time, and so want to avoid repeatedly > recompiling the XSLT script. I suppose an alternative would > be to create a Template, and repeatedly create a Transformer > from that. That would be quite cheap, yes? It's very important to reuse the Templates object, which is the result of compiling the stylesheet. Reusing the Transformer, in the case of Saxon at any rate, usually achieves very little. The main effect is that Saxon retains the document pool - that is, documents loaded using the document() function. This is a good thing if successive transformations load the same documents using document(), and it's a bad thing if they don't. Michael Kay http://www.saxonica.com/
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