9.1. Why use the Compare tool?

The Compare tool allows to compare two revisions of the same initial document.

Unlike generic XML comparison tools such as DeltaXML or Altova DiffDog, you must explicitly enable the comparison of revisions in the initial document if you want to be able to compare two revisions using the Compare tool. This is done by selecting menu item ToolsRevisionsEnable the Comparison of Revisions (or ToolsRevisionsStore All Revisions in the Document).

After selecting menu item ToolsRevisionsCompare Revisions in order to display it, the Compare tool will show you the differences existing between two revisions. It also allows to accept or reject some or all the changes.

Figure 7.6. The Compare tool showing the differences existing between doc.xml 1 (initial revision) and doc.xml (latest revision), displayed side by side
The Compare tool showing the differences existing between doc.xml 1 (initial revision) and doc.xml (latest revision), displayed side by side