AW: [jdom-interest] XPath.selectNodes(doc) via Jaxen: nodes not indocument-order

Per Norrman per.norrman at austers.se
Mon Aug 16 06:47:28 PDT 2004


Kai Wörner wrote:

> Hi,
> 
> 
> It looks like it is indeed an error in Jaxen:
> 
> http://tinyurl.com/483xp
> 
> Since it doesen't seem to get fixed (this error report is over 7 months old)
> - does anybody know of some elegant workaround that doesn't include writing
> my own xpath-parser?
> 

Saxon includes an XPath evaluator which accepts javax.xml.transform.Source
objects as source documents. This means that you can use your JDOM documents
through the JDOMSource wrapper. However, the result nodes are of course saxon
specific types.

/pmn



More information about the jdom-interest mailing list