Inline Annotations

An inline annotation is a form of annotation that does not require special handling in order to maintain the XML well-formedness requirements of the resulting WordprocessingML output. In these cases, a single XML element shall encapsulate the entire contents of the document content which is being annotated.

Consider the following WordprocessingML markup for a paragraph that reads The quick brown fox jumps over the jet lagged dog., where jet lagged replaced the previous text lazy when the editing application was tracking revisions:

<w:p>
  <w:r>
    <w:t xml:space="preserve">The quick brown fox jumps over the </w:t>
  </w:r>
  <w:del  >
    <w:r>
      <w:delText>lazy</w:delText>
    </w:r>
  </w:del>
  <w:ins  >
    <w:r>
      <w:t>jet lagged</w:t>
    </w:r>
  </w:ins>
  <w:r>
    <w:t xml:space="preserve"> dog.</w:t>
  </w:r>
</w:p> 

The <del> and <ins> elements each fully encapsulate the extent of their respective annotations (a marked deletion and insertion, respectively), as they are inline annotations.