Sorting XML generated by Castor
- by Java Guy
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.