Configure to find the changes you need to know about
The XML Compare algorithms work through your two XML files, analysing 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.
Show the difference in a way that makes sense to you
Results are passed through a pipeline so you can transform the output into whatever form your business or systems require. Whether that’s to be managed in your CMS or generated into personalised HTML reports. This is all managed through the XML Compare API.
Compare your own XML files
If you’re wanting to try out XML Compare’s powerful performance, try our online demo which offers fundamental functionality; Diff two of your own XML files and compare the changes. If you’d like to see all XML Compare has to offer book a one-to-one demo with a DeltaXML developer.
Ready to integrate into your products, projects and processes
Accessed through Java or REST APIs integrate into any enterprise workflow or content management system.
Learn more about DeltaXML APIs →
Text formatting intelligence
XML Compare handles structural markup like em or strong with specific processing so that the focus is on content change without any adverse effects from formatting. If formatting change is important to you, our advanced delta markup can highlight this change too all instructed by your specific configuration.
Change highlighting MathML comparisons
MathML handling is built into XML Compare’s ‘Document Comparator’. When MathML content inside your documents is compared, change highlighting is created using MathML syntax to add coloring and styling to your MathML. Three different output styles allow you to choose the one that best suits your publication.
Compare CALS and HTML tables with ease
XML tables are complex enough without having to worry about how to compare them. We process CALS and HTML tables to make sure that the results are valid against the table models while still delivering accurate comparisons.
Find the changes that matter to you, ignore the diffs that don’t
Comparison results can be configured to show in any form you need, whether for automated processing or human review.
Learn more about configurable outputs →
Smart comparison of XML documents
Sometimes you don’t need to see every tiny change, especially for content that you know will change, like dates and timestamps. That’s why we offer samples showing you how to configure XML Compare to ignore these insignificant changes. All you need is a custom XSLT transformation plus a couple more that we’ve already written for you.
Fully configurable processing pipeline
XML Compare features configurable pre- and post-comparison pipelines allowing you to build your own XSLT transformations into a single compare operation. From normalising input content to transforming our delta output into your own custom format, XSLT transformations bring endless flexibility to XML Compare.
An easily processable delta format
Once found, changes to your content are output in our simple XML-based delta format for easy processing. Designed to be easily transformed using XSLT, our delta format sits lightly within the original XML content to ensure that your results are as close as possible to the original XML format.
If you’re working with XML containing mainly data such as dates, monetary values, numbers with defined units or short text descriptions and not XML that contains long text strings and elements with mixed content, i.e. both text and other elements, XML Data Compare might better suit your needs.
When XML change is a standard
Publish redline documents
When you publish documents, like standards, that are relied on as a key part of your customers’ work it can be difficult for them to manage the transition to an updated version. Many customers, including standards bodies (international, national and industry-specific), use XML Compare to drive a redline document workflow. XML Compare identifies the changes between publication versions, marks them in the source XML and the resulting delta feeds into the usual publication workflow where styling is added to changed content to help your customers to understand exactly what updates appear in this latest revision.
XML is often used as the output from applications and processes, particularly for web APIs. When implementations change it is important to prove that expected output remains consistent with regression testing. But often, the layout or ordering of the XML output is inconsequential to the success of the test or perhaps the output contains data that will always be different from one run to the next. With its ability to ignore specific changes and its built-in algorithms for ignoring the ordering where appropriate, XML Compare has proven to be a vital component in regression testing XML output.
Review document updates
Reviewing document updates can be an onerous task, particularly when the documents are large. The task becomes much easier if you can see exactly what has changed since the last time the document was reviewed. XML Compare identifies changes between two specific revisions, allowing you to produce a version specifically for reviewers that highlights the precise changes that you want them to review. Because it operates on the source XML there is no need for change tracking and you have the flexibility to edit and review on different platforms. If your reviewer is familiar with XML editors, XML Compare can even generate PIs to show the changes it identified as if they were track changes in a range of popular tools.
Frequently Asked Questions
What is XML Compare?
XML Compare is a complete toolkit for reliable XML comparison. It’s designed to find all of the meaningful changes between any two XML files.
How do I integrate or embed XML Compare?
XML Compare is optimised for integration into any enterprise workflow and content management systems. All of its functionality is accessed through Java or REST APIs, which are fully documented and come with complete, working examples. On top of these API’s we have created plugins for popular XML authoring tools, including oXygen and FrameMaker for seamless content authoring and reviewing.
Can I ignore changes I know about?
Yes. XML Compare 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. XML Compare also allows you to specify how formatting changes are reported.
How is XML Compare different from other diff tools?
Rather than comparing XML line-by-line, XML Compare 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.
How are found differences represented?
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.
How do I buy an XML Compare license?
So you’re only paying for what you need we offer a range of license models dependent on the system architecture you’re using and your current use case. Fill in our get a quote form to receive more details on your pricing options.