<span>

<span> 將詮釋性註釋直接和一段文字段連結。 [18.3 Spans and Interpretations]
組件 analysis — Simple Analytic Mechanisms
屬性
from⚓︎ 指出被註解段落的起點;若沒有使用屬性to,則指出全部段落。
狀態 非必備的
資料類型 teidata.pointer
<a href="https://translate.tei-c.org/translate.html?edit=span.xml"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" aria-label="Translation out of date." viewBox="0 0 16 16" style="position:absolute; top:2px; right:2px; color:red"><title>Translation out of date.</title> <path d="M6.146 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"></path> <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"></path></svg></a>
to⚓︎ 指出被註解段落的終點。
狀態 非必備的
資料類型 teidata.pointer
俱乐部会员
可包含在於
analysis: cl m phr s span spanGrp w
cmc: post
figures: cell figure table
linking: ab seg standOff
nets: graph
spoken: u writing
tagdocs: eg valDesc
textcrit: lem rdg wit witDetail
verse: metSym rhyme
可包含
例子
<p xml:id="zh-tw_第二小節">("結局"從這裡開始)</p>
<p xml:id="zh-tw_第三小節">("結局"持續)</p>
<p xml:id="zh-tw_第四小節">("結局"結束於此)</p>
<!-- ... -->
<span type="架構from="#zh-tw_第二小節"
 to="#zh-tw_第四小節">
結局</span>
Schematron

<sch:rule context="tei:span">
<sch:report test="@from and @target"> Only one of the attributes @target and @from may be supplied on <sch:name/>
</sch:report>
</sch:rule>
Schematron

<sch:rule context="tei:span">
<sch:report test="@to and @target"> Only one of the attributes @target and @to may be supplied on <sch:name/>
</sch:report>
</sch:rule>
Schematron

<sch:rule context="tei:span">
<sch:report test="@to and not(@from)"> If @to is supplied on <sch:name/>, @from must be supplied as well
</sch:report>
</sch:rule>
Schematron

<sch:rule context="tei:span">
<sch:report test="contains(normalize-space(@to),' ') or contains(normalize-space(@from),' ')"> The attributes @to and @from on <sch:name/> may each contain only a single value
</sch:report>
</sch:rule>
Content model
<content>
 <macroRef key="macro.phraseSeq.limited"/>
</content>
宣告
<rng:element name="span">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.cmc.attributes"/>
 <rng:ref name="att.interpLike.attributes"/>
 <rng:ref name="att.pointing.attributes"/>
 <rng:optional>
  <rng:attribute name="from">
   <rng:ref name="teidata.pointer"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="to">
   <rng:ref name="teidata.pointer"/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.phraseSeq.limited"/>
</rng:element>
element span
{
   att.global.attributes,
   att.global.analytic.attributes,
   att.global.change.attributes,
   att.global.facs.attributes,
   att.global.linking.attributes,
   att.global.rendition.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.cmc.attributes,
   att.interpLike.attributes,
   att.pointing.attributes,
   attribute from { teidata.pointer }?,
   attribute to { teidata.pointer }?,
   macro.phraseSeq.limited
}