NOTE: I, https://www.shlomifish.org/me/contact-me/[Shlomi Fish ( "shlomif" on GitHub, "SHLOMIF" on CPAN, etc.)], have stopped maintaining XML-SemanticDiff and recommend against using it. Please try asking the current CPAN maintainer for help.
XML-SemanticDiff
CPAN distribution to semantically compare two XML files for equivalence. This is done while ignoring whitespace variations in the text as well as several permutations in the order of the tags.