XmlDiff is a Java library that gets the difference between two XML files in a "meaningful"/configurable way. The configuration is optional and can be provided through an extra XML file. It is useful for reports when you want to reduce the output to only the data that you are interested in, or to make sure that this important data is kept in the output after the comparison process.