The Compare tool allows to compare two revisions of the same initial document.
Unlike generic XML comparison tools,
After selecting menu item ToolsChanges Compare 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.
This tool is typically used by an author after her/his draft document has been reviewed and possibly modified by other authors. For example, let's suppose that john has finished writing doc.xml.
John activates the change detection in doc.xml using ToolsChanges Activate Change Detection, saves the document to disk and then sends a copy to Bart.
Bart modifies his copy. He also adds a remark using Tools explaining why he deleted the last paragraph. This results in creating docB.xml, a revision of doc.xml. Remark Insert or Edit Remark
Note that Bart didn't even notice that the change detection has been activated in the copy of doc.xml he has received. The use of this facility should be completely transparent to the user of XXE, even in terms of perceived performances.
After the review of the document by Bart is finished, John receives docB.xml.
John first compares doc.xml to docB.xml, accepts all the changes except the commented deletion made by Bart, then saves docB.xml to disk.
Finally John renames the “approved” docB.xml to doc.xml.