23 Oct
2023
23 Oct
'23
3:20 p.m.
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? -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0344 251 1450 Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER