Open source command line tool for Linux to diff XML files ignoring element order
问题 Is there an open source command-line tool (for Linux) to diff XML files which ignores the element order? Example input file a.xml : <tag name="AAA"> <attr name="b" value="1"/> <attr name="c" value="2"/> <attr name="a" value="3"/> </tag> <tag name="BBB"> <attr name="x" value="111"/> <attr name="z" value="222"/> </tag> <tag name="BBB"> <attr name="x" value="333"/> <attr name="z" value="444"/> </tag> b.xml : <tag name="AAA"> <attr name="a" value="3"/> <attr name="b" value="1"/> <attr name="c"