Login  Register

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:

http://saxonica.com/feature-matrix.html

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 :)

-Erik

On Sat, Feb 26, 2011 at 12:39 PM, ncrofts <[hidden email]> wrote:
Hi,

I understand it is possible to 'compile' XSLT stylesheets using a saxon
extension. Does anyone know if the Orbeon standard XSLT processor, oxf:xslt,
uses this feature? If not, is this a straightforward extension, or would
require a new custom processor?

Regards,
Neil


--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Compiled-XSLT-stylesheets-tp3326236p3326236.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.


--
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




--
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