att.spanning

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

<sch:rule context="tei:*[@spanTo]">
<sch:assert test="id(substring(@spanTo,2)) and following::*[@xml:id=substring(current()/@spanTo,2)]">The element indicated by @spanTo (<sch:value-of select="@spanTo"/>) must follow the current element <sch:name/>
</sch:assert>
</sch:rule>