Hi!

I'm trying to select the nodes from a dom4j DOM with an sortXpath (as listed here http://www.dom4j.org/dom4j-1.4/apidocs/org/dom4j/XPath.html#selectNodes(java.lang.Object,%20org.dom4j.XPath) )  but with no luck. Could anyone give an example on how to write an sortXpath?

Wouldn't it be nice if Node and/or Element had a .sort() method taking an xpath as sort key?

Thanks.
--
Andreas Andersson
Senior Developer

Travelstart

Travelstart Nordic AB
Davidshallsgatan 14
211 45 Malmö

www.travelstart.se
www.travelstart.dk
  Tel +46 (0)40-690 38 83
Mob +46 (0)70-757 23 73
Fax +46 (0)40-611 17 78

www.travelstart.no
www.travelstart.co.za
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to