|none (empty element)|
What is it?
<anchor/> element is a reference point in the XML document, that can be used to point to by other elements. We use the
<anchor/> almost exclusively as the second part of a
<delSpan/>, which 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 (see: <delSpan>), and the second element is an
<anchor/> element, further detailed below.
For the possible values of the
@xml:id, see: 'Special case: xml:id'. Apart from the usual rules for
@xml:ids, it is of course important that the anchor's
@xml:id has the same value (minus a hashtag) as the
@spanTo value (see: <delSpan/>).
<pre> <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>