Sorting XML generated by Castor

Posted by Java Guy on Stack Overflow See other posts from Stack Overflow or by Java Guy
Published on 2010-05-24T18:29:50Z Indexed on 2010/05/24 18:31 UTC
Read the original article Hit count: 346

Filed under:
|
|
|

Hello,

I am using Castor for XML Binding.. We need to sort the XML based on two different fields. Is there way we can specify the sort order in castor while marshalling?

Which will be a better approach to do this sorting, if castor don't have this feature.

© Stack Overflow or respective owner

Related posts about java

Related posts about Xml