4. Working with revisions (or “who did what and when?”)

Important

Make sure to have enabled the comparison of revisions for all your documents, otherwise you'll not be able to compare two revisions of the same document. See Best pratices.

  1. Open the folder containing your document by selecting menu item FileFolderOpen Current Folder (Ctrl+Shift+O; Cmd+Shift+O on the Mac).

  2. Right-click on the name of your document to display this popup menu.

  3. Click Revisions. This entry displays the following dialog box:

    This dialog box lists all the revisions of the selected document. Revisions are ordered from most recent (top of the list; bigger revision numbers) to least recent (bottom of the list; smaller revision numbers). An item of the list contains the following information: the number of the revision, its creation date, the name of the user who created it, its file size.

    Important

    The "Open Selected Revisions" and "Compare Two Revisions" buttons will always be disabled (“grayed”) when selected file cannot be opened in XXE. This happens for example for files having a .html extension which are considered to contain plain HTML (text/html) rather than XHTML (application/xhtml+xml).

    When you know that files having a given extension actually contain XML, you may instruct XXE to open such files by using OptionsPreferences, Tools|Helper Applications in XMLmind XML Editor - Online Help. As expected, the settings will also have an effect on the "Open Selected Revisions" and "Compare Two Revisions" buttons.

  4. Click "Open Selected Revisions" to open in XXE one or more revisions selected from the list. The most recent revision is opened normally, in read-write mode. Older revisions are opened in read-only mode.

    Tip

    Using FileSave As on a document opened in read-only mode will cause it to switch to the normal read-write mode.

    This precisely how you can revert to an old revision of a document. Example: saving "/pages/page1.xhtml 1" (which identifies revision #1 of file "/pages/page1.xhtml") as "/pages/page1.xhtml" will cause this document to revert to its initial revision.

  5. You may also want to click "Compare Two Revisions" to directly compare using the Compare tool in XMLmind XML Editor - Online Help two revisions selected from the list.