<span>
associates an interpretative annotation directly with a span of text.
Module analysisAISP
Attributes
Global and inherited attributes:
- @fromgives 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
- @togives the identifier of the node which is the end-point of the span of text being annotated.
- Status
- Optional
- Datatype
- teidata.pointer
Classes and content
- Member of
- May contain
core
dictionaries
figures
header
msdescription
namesdates
Character data
- character data
- Contained by
cmc
core
dictionaries
drama
header
msdescription
- accMat
- acquisition
- additions
- catchwords
- collation
- collection
- colophon
- condition
- custEvent
- decoNote
- explicit
- filiation
- finalRubric
- foliation
- heraldry
- incipit
- institution
- layout
- material
- msItem
- musicNotation
- objectType
- origDate
- origin
- origPlace
- provenance
- repository
- rubric
- secFol
- signatures
- source
- stamp
- summary
- support
- surrogates
- typeNote
- watermark
namesdates
nets
textstructure
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="structure" from="#para2" to="#para4">aftermath</span>
Schematron
<constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" ident="target-from" scheme="schematron" xml:lang="en">
<constraint>
<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>
</constraint>
</constraintSpec><constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" ident="targetto" scheme="schematron" xml:lang="en">
<constraint>
<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>
</constraint>
</constraintSpec><constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" ident="tonotfrom" scheme="schematron" xml:lang="en">
<constraint>
<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>
</constraint>
</constraintSpec><constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" ident="tofrom" scheme="schematron" xml:lang="en">
<constraint>
<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>
</constraint>
</constraintSpec>Content model
<content>
<macroRef key="macro.phraseSeq.limited"/>
</content>