DeltaXML Corporate Logo

Press button (top right)
to see the comparisons.

 Back Compare W3C XHTML

Welcome to the DeltaXML Online Demo

This page uses the XML Compare API to generate different types of results. It provides examples of the results that you could achieve using our toolkit. These are not the only output types you could create but they give you a flavour of common uses of XML Compare.

If you would like to find out more about what a full release contains, contact us and ask for a downloadable trial version.

Let's get started. Take a look at the top bar above the XML code. Depending on what demo you have selected will determine how many views you see. There are up to four views to switch from:

Side-by-Side, Inline Report, PDF and Raw Delta.

Let’s look at more detail at each of the views. Press 'continue' to begin.

Side by Side Report

This view is great if you want to see changes in their original context giving you an understanding of which word, phrase or sentence has been changed. Use the arrow buttons on the toolbar or up/down cursor-keys to move forward and back between changes. Elements may be folded or expanded to make it easier to see the context of a change.

The left and right views in the report correspond to the contents of the A and B documents respectively. The space in each of the document views is adjusted to ensure that elements and attributes are properly aligned vertically in both views. Contents that exists in one document but not the other is highlighted. The ancestor elements of a change have lighter highlighting.

When a change is selected, its position is highlighted in both the A (left-side) and the B (right-side) document views. The number of the selected change is shown in the toolbar, the element-path to the change is shown just below the toolbar.

Inline Report

With DeltaXML at its heart, the folding report is a great way to show change clearly and quickly. 

The inline report is created by applying XSLT transformations to the delta file to convert it into an HTML format. This XSLT ‘pipeline’ is the standard way of configuring XML Compare for your own use. For more details on specifying a pipeline, go here.

As the name suggests the report can fold and expand. This is useful for when you only want to see a certain section of your file making it easy to find the necessary changes.

Inline Report Cont.

If you want to see all the changes the delta has found but don't want to sieve through the whole document, use the left and right arrows to jump to the next and previous changes. If it's a specific change you want to see, use the sidebar to the left which lists all the changes that have been found. From here you can jump to any change. This would be especially helpful with large files.

Inline Report Cont.

Click the switch style button to change text formatting and background colours.

PDF Report

Where XML document types are published to PDF, you can make use of the changes XML Compare finds and publish them in the same way. For example, output from DITA Compare can be used with the standard DITA Open Toolkit to create a PDF containing change highlighting.

Raw Delta

The delta format is the native output of XML Compare. For each element it shows whether it was present in the inputs (called A and B) using the deltaV2 attribute. This has values A, B, A=B, and A!=B. If an element is present in both inputs versions, the delta attribute tells you whether they were the same (A=B) or different (A!=B).

For text changes, the text is wrapped inside a deltaxml:textGroup element so that the deltaV2 attributes can be added to it e.g.

Attribute changes are shown by converting changed attributes into elements inside a deltaxml:attributes wrapper e.g.

It’s as simple as that. You can read about the delta format in more detail here.

What Next?

Experiment with the online demo using your own XML.

The Side-by-side and Inline reports shown here were created by applying XSLT transformations to the delta file. PDFs were generated from XML Compare output using the relevant toolkits for the document type.

This XSLT pipeline is the standard way of configuring XML Compare for a specific document type and to produce a customised output format. For more details on specifying a pipeline, go here.

If you would like to discover how others are using our products you can go here. Or if you would like to learn more on how to obtain XML Compare to integrate into your own projects please contact

Back   Continue

More Questions?

Contact Us

Watch Video

This is the Help Bar. Hover over different areas of the page to receive relevant information.

Developer Information

This is the content for the developer information panel.

Friendly Reminder: This is just a demonstration of XML Compare.

What you are about to see is a sample of what can be achieved using our developer toolkits.

It is not the product itself.

To apply your own XSLT or export your own changes to PDF you will need to download the product.