[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Xpath vs xslt vs jaxb within java context


Subject: Re: [xsl] Xpath vs xslt vs jaxb within java context
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 9 Feb 2016 14:44:04 -0000

> On 9 Feb 2016, at 14:13, Mailing Lists Mail daktapaal@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> So , if we have already bought Saxon 9ee , We might as well use Saxon  API
for executing xpaths from within java.
>
> I will also consider trying out xom or jdom2 ...If there are any good buying
points over Saxon.
>
>

You're comparing completely different things. Saxon provides XSLT, XPath,
XQuery, and XML Schema processing either against its own internal tree model,
or against external tree models such as DOM, XOM, and JDOM2. Products like XOM
and JDOM2 provide a tree model, plus APIs that allow you to invoke an XPath or
XSLT processor (typically the 1.0 processor that comes with the JDK) against
that tree model.

If you want a good versatile XSLT/XPath/XQuery processor, use Saxon. If you
want a good general-purpose tree model, use JDOM2 or XOM. If you want both,
use them both, separately or together.

Michael Kay
Saxonica


Current Thread