Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XPath and Id handling for XOM

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: Hallvard Trætteberg <hal AT idi.ntnu.no>, <xom-interest AT lists.ibiblio.org>
  • Cc:
  • Subject: Re: [XOM-interest] XPath and Id handling for XOM
  • Date: Thu, 25 Sep 2003 10:59:11 -0400

At 11:44 AM +0200 9/25/03, Hallvard Trætteberg wrote:
Hi,

One of the reasons I have not used XOM much is its lack of support for
XPath (with Jaxen) and handling of special handling ID attributes.
Nevertheless, XOM has many nice features so I decided to contribute
these two things. I have
- extended Jaxen with a DocumentNavigator for XOM (1.0d21) that passes
all of Jaxen's test. I essentially ported JDOM's navigator.

Thanks for your effort and interest. This has been done before by Laurent Bihanic. Seee https://lists.ibiblio.org/sympa/arc/xom-interest/2003-January/000271.html In my opinion, the proper place for such a class is in Jaxen, not XOM. You may wish to contribute it to the Jaxen project.

Whatever XPath API and engine is eventually chosen, XOM will not expose any public dependence on the engine. Much as the XSLT API completely hides the internal dependence on TrAX, so too will the XPath API hide the dependence on Jaxen (or any other engine I choose). This make XOM both simpler and more flexible.

--

Elliotte Rusty Harold
elharo AT metalab.unc.edu
Processing XML with Java (Addison-Wesley, 2002)
http://www.cafeconleche.org/books/xmljava
http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA




Archive powered by MHonArc 2.6.24.

Top of Page