Hi, It looks to me that Saxon is almost 10 times faster than xalan when doing a simple transformation as the following:
try {
_transformer = TransformerFactory.newInstance().newTransformer(new
StreamSource(_xslFileName));
}
catch (Exception e) {
e.printStackTrace();
System.out.println(e.getMessage());
}
_transformer.transform(new StreamSource(xmlInput), new
StreamResult(htmlOutput));
Why is that? should i use sth. like SAXTransformerFactory?
Thanx.
:)Kelly
