Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] New XPath issue: what to do with non-nodes?

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: "Watson, John" <JWatson AT satelliteinfo.co.uk>
  • Cc: xom-interest AT lists.ibiblio.org, 'John Cowan' <jcowan AT reutershealth.com>, Nils_Kilden-Pedersen AT Countrywide.Com
  • Subject: Re: [XOM-interest] New XPath issue: what to do with non-nodes?
  • Date: Thu, 13 Jan 2005 08:55:18 -0500

Watson, John wrote:

I couldn't agree more. My application is an interpreter that generates
XPath expressions and then applies them. I rely pretty much on the full set
of types that XPath expressions may return. If XOM restricts itself just to
node-sets, I'm afraid I'm much less inclined to use it.

Could you tell more about your application? It sounds interesting.

Also a relevant question: if XOM allows full types for XPath return values from the query method, is this likely to be sufficient for your needs, or are you likely to use something like NUX or Saxon anyway to get compiled expressions, variables, extension functions, XPath 2.0, and/or XQuery?

If a small change would enable a lot more use cases, then I'm inclined to consider it. However, if a lot more is required then I suspect I'll just refer people to NUX and Saxon.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page