Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XOM & Saxon

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT ibiblio.org>
  • To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] XOM & Saxon
  • Date: Mon, 20 Feb 2012 10:07:04 -0500

On Mon, Feb 20, 2012 at 5:51 AM, Christophe Marchand
<christophe.marchand AT axyus.com> wrote:
> Hum... my question was not well-formed. I want to use Node.query(...),
> with Saxon XPath processor behind the scene, to allow XPath 2.0 queries.
> Is it possible ?
>

Not without forking the code. Node.query is a thin and opaque wrapper
around Jaxen, and assumes XPath 1.0 in its design.

As Michael says, using the Saxon API is the way to go here.

--
Elliotte Rusty Harold
elharo AT ibiblio.org




Archive powered by MHonArc 2.6.24.

Top of Page