I need to sort the nodes in XML files before comparing. So I added XML Sorted. But it didn't sort nodes in simple xml files. For example
<root>
<b>b</b>
<a>a</a>
</root>
should be
<root>
<a>a</a>
<b>b</b>
</root>
Then I tried using XML sorted and tidied also. It also didn't sort the elements but other things like indentation was applied.
http://www.scootersoftware.com/downl...oreformats_alt says that "XML Sorted" and "XML sorted and tidied" sort nodes Alphanumerically. But why it doesn't work for this type of XML files?
<root>
<b>b</b>
<a>a</a>
</root>
should be
<root>
<a>a</a>
<b>b</b>
</root>
Then I tried using XML sorted and tidied also. It also didn't sort the elements but other things like indentation was applied.
http://www.scootersoftware.com/downl...oreformats_alt says that "XML Sorted" and "XML sorted and tidied" sort nodes Alphanumerically. But why it doesn't work for this type of XML files?
Comment