w:del (Deleted Content)

Marks content as deleted during tracked-changes revision, carrying author and date information.

Parent elements

Child elements

Description

w:del is a tracked-deletion wrapper that marks content as having been deleted during a revision. It is defined in ECMA-376 Part 1 §17.13.2.12.

Deleted text is stored in w:r elements containing w:delText (instead of w:t) and wrapped by w:del. Applications render deleted text with strikethrough and a distinctive colour. On accepting, the content is permanently removed. On rejecting, the w:del wrapper is removed and the content is restored as normal runs.

Attributes

Attribute Type Possible Values Description
w:id ST_DecimalNumber Unique positive integer within the document. Revision identifier.
w:author ST_String Any non-empty string. The author of the deletion.
w:date xsd:dateTime ISO 8601 datetime, e.g. 2024-01-15T14:30:00Z. Timestamp of the deletion.

Examples

<w:del w:id="2" w:author="Bob" w:date="2024-01-15T11:00:00Z">
  <w:r>
    <w:delText>deleted text</w:delText>
  </w:r>
</w:del>