att.spanning

att.spanning 提供元素的屬性,這些元素使用參照機制來限定某一文字段,而非包含此文字段。 [1.3.1 Attribute Classes]
組件tei — 1 The TEI Infrastructure
成員index milestone gb pb lb cb addSpan damageSpan delSpan metamark mod redo retrace undo
屬性屬性
spanTo指出文字段的結尾,該文字段以帶有此屬性的元素開頭。
狀態 非必備的
資料類型

<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>
points to an element following this one in the current document.