Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XOM - XPath to query Boolean values

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: christophe.marchand AT axyus.com, XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] XOM - XPath to query Boolean values
  • Date: Thu, 15 Oct 2009 07:35:05 -0400

On Thu, Oct 15, 2009 at 2:58 AM, Christophe Marchand
<christophe.marchand AT axyus.com> wrote:
> Is there a way to get anything else than a Nodes (IE a Boolean, String,
> etc...) via XPath on a XOM tree ? Especially, I'm interested in querying
> true() or false() XPath functions...

No, this was a deliberate 80/20 decision. The XPath type system
doesn't integrate very cleanly with the Java type system, and most
boolean/numeric/string operations are better done in Java anyway.

--
Elliotte Rusty Harold
elharo AT ibiblio.org




Archive powered by MHonArc 2.6.24.

Top of Page