AW: [jdom-interest] XPath.selectNodes(doc) via Jaxen: nodes not
per.norrman at austers.se
Tue Aug 17 05:50:09 PDT 2004
Kai Wörner wrote:
> Setting apart Jaxen's bugginess - is there a way to determine the ordering
> of a Xpath-expression like //something in Jdom?
I cannot see how, directly. But here is a 'crazy' idea:
Create your own Element subclass and your own JDOMFactory.
Assign a sequence number to each new Element. Sort
the result from Jaxen on the sequence number.
More information about the jdom-interest