Hi,

Ian Shields wrote:
On Fri, 2008-05-30 at 17:06 +0800, ChengLin wrote:
Hi,
  
Is it possible to use XSLTC [1] in XML Filter to speed up the transformations?

It is a matter of XSLTC reliabilty, if the result has a similar quality as with the Xalan processor (from the same xalan.jar). I had once problem with the XHTML export perhaps it has changed, havn't checked for while and I must admit forgot about my bug-id.

But instead of switching to XSLTC, I would personally rather switch to Saxon-B 9.0 [2] providing XSLT 2.0, XPath 2.0 and XQuery 1.0.

[1] http://xml.apache.org/xalan-j/xsltc_usage.html


I have a large and somewhat complex filter and it runs much faster the
second time I use it after starting OOo than the first. I imagine OOo is
either caching something or compiling it.


Yes, there is a caching. The stylesheets are being parsed only once and than cached after first usage.

But even Java start up might have its part.
Not sure if OpenJDK 6.0 build b10 [3] has the same performance improvements as the Java SE 6 update 10 [4], but it will improve a lot in the future.

Cheers,
Svante

[2] http://saxon.sourceforge.net#F9.0B
[3] http://download.java.net/openjdk/jdk6/
[4] http://java.sun.com/developer/technicalArticles/javase/java6u10/index.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to