att.spanning

att.spanning provides attributes for elements which delimit a span of text by pointing mechanisms rather than by enclosing it. [1.3.1 Attribute Classes]
Moduletei — 1 The TEI Infrastructure
Membersindex milestone gb pb lb cb addSpan damageSpan delSpan metamark mod redo retrace undo
AttributesAttributes
spanToindicates the end of a span initiated by the element bearing this attribute.
Status Optional
Datatype

<rng:ref name="data.pointer"/>
data.pointer
SchematronThe @spanTo attribute must point to an element following the current element

<sch:rule context="tei:*[@spanTo]">
<sch:assert
  test="following::*[@xml:id=substring(current()/@target,2)]">
The element indicated by @spanTo must follow the current element <sch:name/>
</sch:assert></sch:rule>
SchematronLa valeur de @spanTo doit identifier un element dans le document actuel

<sch:rule context="tei:*[@spanTo]">
<sch:assert test="id(substring(@spanTo,2))">@spanTo on <sch:name/> must point to the identifier of some element in this document</sch:assert></sch:rule>
Values points to an element following this one in the current document.
Note

The span is defined as running in document order from the start of the content of the pointing element to the end of the content of the element pointed to by the spanTo attribute (if any). If no value is supplied for the attribute, the assumption is that the span is coextensive with the pointing element. If no content is present, the assumption is that the starting point of the span is immediately following the element itself.