<delSpan/>

Validation Information:

[table border="1" colwidth="115"]
Rules,Values

Contained by:,<add>|<back>|<body>|<date>|<del>|<div>|<floatingText>|<front><head>|<hi>|<l>|<lg>|<metamark>|<note>|<num>|<p>|<restore>|<seg>|<sic>|<sp>|<speaker>|<stage>|<stamp>|<text>|<unclear>

May contain:,none (empty element)
Attributes:,@extent|@spanTo|@type
[/table]


What is it?

A so-called <delSpan/> denotes a larger passage that was canceled in its entirety, or otherwise 'marked as used'. Because <delSpan/>s typically do not abide to the usual nesting rules, we cannot use normal start-and-end tags to mark these passages. Instead, we need to use two empty elements, and link them together to mark the extent of the deleted passage. The first of these two empty elements is the <delSpan/> element itself, which is further detailed below, and the second element is an <anchor/> element. Because these two go hand in hand to form a single <delSpan/>, please also read our page on the <anchor/> element.


Attributes

The value of the @spanTo attribute always starts with a hashtag (# – read: 'Special Case: xml:id' to find out why), followed by the @xml:id of the corresponding <anchor/> element (see: <anchor/>).

We distinguish 3 types of <delSpan/>s:

  1. heavily crossed out passages (type="heavy"),
  2. passages crossed out by means of a diagonal line (type="line"),
  3.  and passages crossed out by means of a St. Andrew's cross (type="cross").

The @extent attribute marks the length of the <delSpan/>. At the moment we have only one value for @extent, and that is "paragraph".


For example:

[xml]

<p>
<delSpan spanTo="#anchor5" type="cross" extent="paragraph"/>
DELETED PASSAGE
<note>This whole paragraph has been crossed out using a
St. Andrew's cross in black ink.</note>
<anchor xml:id="anchor5"/>
</p>[/xml]