I'm trying to sort nodes in an xml file, each node contains a little over 300 fields, and so my question is, is there a way to sort these nodes other than the examples I've seen for nodes with only a few fields? like in the following example: sort xml
In my case this would be impractical, but if there is no way around it I would have to do it this way. If at all possible please provide some code example, I am just starting to learn java and not very familiar with all the different packages and tools.
Thanks, it is good to be in this great community and get some help from smarter people than me
I was looking into xslt and looks like it is exactly what I need, however, I'm having a little hard time how would I automate the process? do I need to use something like saxon or can java do it out of the box, if so, what classes or packages would I need to use in order to accomplish this?