KeyView 24.4
KeyView XML Export SDK Java Programming Guide

# Convert Revision Tracking Information

The revision tracking feature in applications—such as Microsoft Word's Track Changes—marks changes to a document (typically, strikethrough for deleted text and underline for inserted text) and tracks each change by reviewer name and date.

If revision tracking was enabled when changes were made to a document, you can configure Export to convert the deleted text and graphics and include revision tracking information in the XML output. (The deleted content and revision tracking information is excluded from the XML output by default.)

Content that was added to the document is identified by `<ins>` tags and is underlined when displayed in a browser. Content that was deleted from the document is identified by `<del>` tags and is displayed with strikethrough formatting.

The `<ins>` and `<del>` tags include `cite` and `datetime` attributes, which define the name of the reviewer who made the change and the date on which the change was made respectively. (The date is in ISO-8601 format: `YYYY-MM-DDThh:mm:ss`.) The tags also include a `title` attribute which displays the author and date information in a browser.

For example, the following markup is generated for inserted text:

    <ins title="Inserted: JohnD, 2006-04-24Tl4:47:00" cite="mailto:JohnD" datetime="2006-04-24T14:47:00">This text was added</ins> in a previous version.

The following markup is generated for deleted text:

    <del title="Deleted: JohnD, 2006-04-24Tl4:56:00" cite="mailto:JohnD" datetime="2006-04-24T14:56:00">This text was deleted</del> in a previous version.

To convert deleted text and graphics and include revision tracking information, call the `includeRevisionMark` method. For example:

    if(inclRevisionMark == true)
    {
        objHtmlExport.includeRevisionMark();
    }

To reset the flag and exclude deleted content and revision tracking information from the XML output, call the `excludeRevisionMark` method. For example:

    if(inclRevisionMark == false)
    {
        objHtmlExport.excludeRevisionMark();
    }

Copyright 1997-2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL KeyView 24.4

Topic Title: Convert Revision Tracking Information