Substitutions

If the editor replaces a deletion with the addition of a piece of text, the <add> and <del> elements are enclosed by a <subst> element (for substitution).

<subst>
  <del>[deletion]</del>
  <add>[substitution]</add>
</subst>
CAUTION:
The <subst> element is not used if an original addition has been deleted for its part.