Re: Compiled XSLT stylesheets
Posted by
Erik Bruchez on
Feb 26, 2011; 10:42pm
URL: https://discuss.orbeon.com/Compiled-XSLT-stylesheets-tp3326236p3326364.html
There is "compile" and compile ;)
Saxon always "compiles" a stylesheet in the sense that it goes through a processing phase where the stylesheet is analyzed. In Orbeon Forms, usually such "compiled" stylesheet are cached when possible (most of the time).
Now there is more to it if you check the Saxon product matrix:
If I understand well, Saxon can compile XQuery to native Java code, which "typically gives a 25% performance boost", but not XSLT yet. Also, Saxon can serialize "compiled" XSLT to disk, but "this feature does not normally deliver performance benefits".
At any rate, these are available in the commercial versions of Saxon only.
I suggest you ask on the Saxon mailing-list, or directly Saxonica / Mike Kay about which specific compilation feature could actually deliver increased performance to your stylesheets. And please report back here :)
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws