This has been driving me mad all afternoon.
How can I compare xml files from the commandline?
Specifically: If I have two XML files and one contains: ... <field name="A">ValueA</field> <field name="B">ValueB</field> ... and the other contains: ... <field name="B">ValueB</field> <field name="A">ValueA</field> ...
... then I consider those two files to be the same, but obviously a diff will not. How can I compare just the content and not the ordering/formatting/etc?