RE: xalan performance
> I'm using Xalan 1.2, and I'm having quite severe performance > problems in a > web based application that I have built. My XML stream takes about 3 > seconds to create, but then actually applying XSL to the XML > to generate HTML is taking a further 10-13 seconds. How big is the XML file, and how are you writing it? Transforming an XML file in 3-4 times the time it takes to write it seems a reasonable ratio. You might save a little bit by passing the XML from your application to the XSLT processor as a stream of SAX events rather than as a source XML file. With Java processors, the start-up overhead of loading the Java VM and application classes can be quite high: if you are doing repeated transformations, make sure you don't incur this for each one. 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