<span>

<span> associates an interpretative annotation directly with a span of text. [18.3 Spans and Interpretations]
Module analysis — Simple Analytic Mechanisms
Attributes
from⚓︎ gives the identifier of the node which is the starting point of the span of text being annotated; if not accompanied by a to attribute, gives the identifier of the node of the entire span of text being annotated.
Status Optional
Datatype teidata.pointer
to⚓︎ gives the identifier of the node which is the end-point of the span of text being annotated.
Status Optional
Datatype teidata.pointer
Member of
Contained by
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
May contain
Example
<p xml:id="para2">(The "aftermath" starts here)</p>
<p xml:id="para3">(The "aftermath" continues here)</p>
<p xml:id="para4">(The "aftermath" ends in this paragraph)</p>
<!-- ... -->
<span type="structurefrom="#para2"
 to="#para4">
aftermath</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>
Schema Declaration
<rng:element name="span">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.interpLike.attributes"/>
 <rng:ref name="att.pointing.attributes"/>
 <rng:ref name="att.cmc.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.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.interpLike.attributes,
   att.pointing.attributes,
   att.cmc.attributes,
   attribute from { teidata.pointer }?,
   attribute to { teidata.pointer }?,
   macro.phraseSeq.limited
}