16. XHTML Edit Attributes Module


This section is normative.

This module defines the Edit attribute collection.

16.1. Edit Collection

edit = "inserted|deleted|changed|moved"
This attribute allows elements to carry information indicating how content has changed. Possible values:

The default presentation for an element with edit="deleted" is display: none (in other words, it is not displayed) although an alternate style might display it as crossed through. The other three values cause no special presentation by default, though an alternate style might use background colors or other text decoration to indicate the changed text.

<p>I will do it
next <span edit="deleted">week</span><span edit="inserted">month</span>.</p>
datetime = Datetime
The value of this attribute specifies the date and time when a change was made.

Implementation: RELAX NG