[jdom-interest] Sorting children!

Noam Tamim noamt at yahoo.com
Tue Jun 5 14:46:32 PDT 2001


I got no replies to my first post on this subject (it was titled
"Comparators")!

It is not possible to sort (Collections.sort()) the result of
Element.getChildren(). Or rather, it is possible, but it does not affect the
xml at all (because it sorts the PartialList, not the content itself).

Is that a known bug, or you just never thought someone will try to do that?


 - Noam.







More information about the jdom-interest mailing list