Merge XML Files With XML Merge

A complete toolkit for reliably recombining multiple XML documents or datasets into a single file.

Analysing your XML for dependable results

XML Merge analyses the structure of your XML files to identify differences and apply sophisticated rules for automated merging. Read More

Configurable output types fit your processes perfectly

Our patented technology is configurable so it can generate merged XML in the exact form you need for editing, storing or processing. Read More

Optimised for seamless embedding

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

Try Out XML Merge?

How does XML Merge work?

XML Merge recombines multiple XML files with their common ancestor, analysing their structure and running custom rules to either merge or explicitly mark-up the differences.

Its algorithms work through each of the files in turn, examining their structure to match-up all the corresponding elements with the original.

Once it has identified all the differences, XML Merge then will allow you to manually accept or reject changes or apply custom rules to automatically determine whether to merge your changes or mark them up in the output file as unresolved changes.

The results are passed through a pipeline so you can transform the XML into whatever form is required by your systems or processes. This is all managed through the XML Merge API.

Configured to understand your XML

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

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.

Rule-based merging of documents, data or code

With XMLMerge you can apply custom rules to specify what is merged automatically and what is marked-up for further attention.

Its sophisticated rules enable you to reference any aspect of the XML structure and attributes, to specify where conflicts may be automatically resolved and what should take priority.

Optimised outputs for your people and processes

XMLMerge creates an output file which is based closely on your original ancestor file, with all the unresolved changes laid-out using precise, descriptive XML markup.

This output file is passed through an XSLT pipeline, so you can apply transformations to generate the exact output that you require for internal workflow, wider distribution or in your product code.

Full APIs for integration and embedding

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

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

Learn more about embedding XML Merge into your product.

Learn More

Guaranteed complete results

If you are merging XML files that are significant for safety or compliance, you can be certain that XML Merge will find and correctly process every difference.

Our XML comparison algorithms are guaranteed to find all the changes or differences between your files and – unless you have configured it to do otherwise – bring all of them together in the output file.

Try Out XML Merge?

  • DITA Merge

    For merging changes in DITA documents

    Learn More

Looking for something different?

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

Need to learn more?

See our product documentation: XML Merge

Product Documentation

Need help?

Contact us, we are happy to help!

Contact Us