DocumentID: ECMA-376/Part3/2.14.7
Title: ECMA-376, Part3: 2.14.7 Revisions
Extracted-From: ECMA-376 Office Open XML File Formats, 1st Edition / December 2006
Warning: Coverted to HTML format by a script known to have bugs

Navigation:

2.14.7 Revisions

A revision provides a mechanism for storing information about the evolution of the document (i.e., the set of modifications made to a document by one of more authors). When an application adds revisions to the content of a WordprocessingML document, depending on the revision type they are specifying this by storing either:

A revision consists of two required pieces of information:

As well as optional information:

A revision is stored using the inline annotation format or the property annotation format.

Consider a paragraph of text in a WordprocessingML document in which one word has been inserted, as follows:

image22

This paragraph has the word text marked inserted as a revision, and is represented as the following WordprocessingML:

<w:p>

  <w:r>

    <w:t>Some</w:t>

  </w:r>

  <w:ins w:id="0" w:author="Joe Smith" w:date="2006-03-31T12:50:00Z">

    <w:r>

      <w:t>text</w:t>

    </w:r>

  </w:ins>

</w:p>

The ins element contains all of the content that shall be treated as revision marked as inserted (i.e., the word text).

This means that it contains both required pieces of information: the revision type, specified by the name of the revision element (ins); and a unique revision identifier of 0.

The element also stores the optional information about the revision: the word text was inserted by Joe Smith on March 31, 2006 at 12:50 pm.

Within a WordprocessingML document, the following types of revisions can be used to track the changes to a document (each annotation's form in parentheses):


Converted to HTML format by ooxmlspec2html 0.1, a Perl script provided by OpenISO.org.