Complex Additions and Deletions

  Chapter 1: The Manor House

Charles hadn’t visited the manor house since Easter, 1955, and now he remembered why .

“Hullo”, he called out as he walked up the drive, and then, as if to himself, “To be or not to be?, to walk or not to walk, to talk or not to talk...oh, hang it all!” His meditation on Hamlet was interrupted as he collided with a peacock. “Sacré bleu!” he exclaimedcried with irritation, his sang-froid completely deserting him. It was going to be a long week. His catalog of irritations included: 1. The weather 2. The peacocks 3. His meagre grasp of French ]]><addSpan spanTo="#anchor02"/> 4. The ridicu]]><damageSpan spanTo="#anchor01"/> re]]><anchor xml:id="anchor01"/> ]]><anchor xml:id="anchor02"/>

End of Chapter 1 ]]>

There will sometimes be instances in which additions, deletions, and damaged parts of manuscripts do not fit well with XML’s nested structure. The TEI allows use to use anchors and empty elements to circumvent this problem. The elements you use to mark the beginning of an addition, deletion, or some textual damage are:

  • addSpan
  • delSpan
  • damageSpan

Each of these elements is given a spanTo attribute, whose value is a pointer. The spanTo attribute should point to an anchor, which marks the end of the addition, deletion, or damage. The anchor should always have an xml:id attribute.

Advanced Manuscript Encoding, slide 4 of 23