Difference And Compare XML Files With XML Compare

A complete toolkit for reliable XML comparison to find all of the meaningful changes between any XML file.

Analyse changes for dependable comparison results

Unlike line by line comparison tools, XML Compare works within the structure of your files to identify real changes, reliably. Read More

Configurable outputs to fit your processes perfectly

XML Compare can be configured to deliver your comparison results in any form you need, whether for automated processing or human review. Read More

Optimised comparisons for seamless embedding

Thanks to flexible APIs, you can embed XML comparison functionality within any enterprise system or new software product. Read More

feature-image-compare-products-compare-xml-compare-dita-compare-docbook-1

Want to try out XML Compare?

How Does XML Compare Work?

XML Compare takes two well-formed XML files, analyses their structure and then compares these two files to identify the differences between them, outputting the results to a new XML or HTML file.

The XML Compare algorithms work through the two XML files, analyzing their structure and matching up all the corresponding elements between them.

XML Compare identifies all of the differences in your content according to your specific configuration. It then writes them to an output file which combines your original content with new markup detailing the changes.

The results are passed through a pipeline so you can transform the output into whatever form your business or systems require. This is all managed through the XML Compare API.

Optimised outputs for your people and processes

XML Compare generates output files that are structured in the same way as your original files, so they can be viewed in your regular editor or managed in your CMS. Alternatively, it can generate user-friendly HTML reports in a number of different formats.

The real power of XML Compare comes from its use of XSLT pipelines, which enable you to apply transformations and generate the exact output that you require, for internal workflow, wider distribution or in your product code.

Smart comparison of XML documents, data or code

XMLCompare can be configured to tell you about the differences that matter to you and ignore those that don’t, including changes to attributes, the order of content, differences in whitespace and external links.

If you are working with documents or textual content, you have fine control over differences between words, sentences and whole blocks of text. XMLCompare also allows you to specify how formatting changes are reported.

Configured to understand your XML

Rather than comparing XML line-by-line, XMLCompare identifies and matches up all the XML elements across your files, so it has a meaningful and dependable basis for its XML comparisons.

This pairing process uses a combination of element names, parent names, position in the XML tree and the structure of child elements. It understands namespaces and prefixes and can be configured to use keys to guide alignment of content.

Full APIs for integration and embedding

XML Compare is optimised for integration into any enterprise workflow and content management systems.

All of its functionality is accessed through Java or .NET APIs, which are fully documented and come with complete, working examples.

Learn more about embedding XML Compare into your product.

Learn More

Guaranteed dependable results

If you are comparing XML files for safety or compliance reasons, you can be certain that XML Compare will find all the differences between them

Want to try out XML Compare?

Looking for something different?

XML Compare is perfect for finding the differences between any type of XML files, but we have other product editions which may meet your needs better:

  • DocBook Compare

    For comparing DocBook

    Learn More
  • DITA Compare

    For comparing DITA documents

    Learn More
  • JSON Compare

    For comparing JSON data

    Learn More

Need to learn more?

See our product documentation: XML Compare

Product Documentation

Need help?

Contact us, we are happy to help!

Contact Us