Re: Use cases

Kurt Cagle scripsit:

> Saxon of course has the canonical XSLT 2.0 implementation, but as few
> browsers are written in Java, it can't be natively compiled into the
> C++ code --

Actually, it could probably be AOT-compiled using gjc, although this
would introduce a dependency on libgjc.

> there is a C# port of Saxon

In fact no.  Saxon for .NET is compiled from Java source
(slightly different from the source for the JVM) using ikvmc.
See http://www.ikvm.net for information on IKVM and ikvmc.

> Of course, if you COULD integrate Saxon into the Webkit stack, that
> would not only give you XSLT 2.0, but would also provide an up-to-date
> version of XQuery, which frankly would probably prove FAR more useful
> to non XML developers; the language is syntactically close enough
> to JavaScript that it could be picked up easily, and it's reasonably
> useful for handling light to moderate transformations, as well as for
> integrating external calls.

Currently, Mike Kay is developing a version of Saxon for
browsers, using GWT to compile a stripped-down version
of the Saxon-EE source into Javascript.  However, it
doesn't include XQuery, and it can't be open sourced.  See
http://saxonica.blogharbor.com/blog/_archives/2010/11/16/4681337.html
for details.

-- 
BALIN FUNDINUL          UZBAD KHAZADDUMU        cowan@ccil.org
BALIN SON OF FUNDIN     LORD OF KHAZAD-DUM      http://www.ccil.org/~cowan

Received on Monday, 3 January 2011 05:32:48 UTC