Subject:compiled xslt Author:P S Date:08 Dec 2005 10:09 AM
hi
Has anybody used compiled xsltc. I am experimenting with xalan XSLTC. I was under impression that compiled xslt gives better performance results than regular xslt. But i am seeing opposite results. My compiled xslt takes more time to run than regular xslt. I need to improve the performance of the xslt. Any ideas?
Subject:compiled xslt Author:Minollo I. Date:08 Dec 2005 10:23 AM
If you research the topic around, you'll see that XSLT compilation is not itself a guarantee for improved performance. Several other factors play an important role.
You may want to try out Saxon (http://www.saxonica.com); it too supports a compilation model, and we have usually been very pleased with its performance.
Subject:compiled xslt Author:P S Date:12 Dec 2005 11:41 AM
hi
i downloaded saxon and trying to use it to run xslt. But i am getting java error. Its dying when it trys to create a new transformer.
TransformerFactory tfactory = TransformerFactory.newInstance();
From the log file
xslSource -- javax.xml.transform.stream.StreamSource@332f9f55
java.lang.Exception: java/net/URISyntaxException
at common._main2_jsp_3._jspService(_main2_jsp_3.java)