RE: [xsl] XSLT compiler

Subject: RE: [xsl] XSLT compiler
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 17 Jul 2006 15:45:31 +0100
> I can use Xason as well as Xalan XSLTC for making templates? 
> The Saxon is also an XSLT compiler?

Both Saxon and Xalan XSLTC do as much work as they can at "compile" time, in
terms of analyzing the stylesheet and generating a representation of the
stylesheet that can be used at run-time. In both cases, the run-time
representation of the stylesheet is then interpreted. The difference is that
with XSLTC, the representation is in terms of Jva bytecodes which are
interpreted by the Java VM, whereas with Saxon, the representation is a
proprietary data structure which is interpreted by Saxon's run-time engine.

There is no intrinsic reason why one approach has to be faster than the
other.

It's a matter of judgement whether either or both can correctly be described
as "compilers".

Michael Kay
http://www.saxonica.com/

Current Thread