lxdiff — Show differences between two XML documents
lxdiff shows the differences between two XML documents.
rxp to normalize the documents and then uses
diff program to compare them.
The input-file arguments may be URIs instead of filenames.
split elements onto separate lines to better localize differences.
Since lxdiff uses the system
diff program for
comparison, the unit of difference is the line. For XML files containing
very long lines, using
-m may make the output easier
to interpret. The "m" stands for "munge".
an XPath query specifying nodes to be removed from the documents
before comparison. This allows unimportant differences to be
ignored; for example "
lxdiff -j @id" will ignore
id attributes between the documents.
The "j" stands for "junk".