<link>
link
defines an association or hypertextual link among elements or passages, of some type not more precisely specifiable by other elements.
Module linkingSAPT
Attributes
Global and inherited attributes:
Classes and content
- Member of
- May contain
- empty
- 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
- addName
- affiliation
- age
- birth
- bloc
- country
- death
- district
- education
- event
- eventName
- faith
- floruit
- forename
- gender
- genName
- geogFeat
- geogName
- langKnown
- nameLink
- nationality
- object
- objectName
- occupation
- offset
- org
- orgName
- persName
- person
- persona
- personGrp
- persPronouns
- place
- placeName
- region
- residence
- roleName
- settlement
- sex
- socecStatus
- surname
nets
textstructure
Note
This element should only be used to encode associations not otherwise provided for by more specific elements.
The location of this element within a document has no significance, unless it is included within a linkGrp, in which case it may inherit the value of the @type attribute from the value given on the linkGrp.
Example
<s n="1">The state Supreme Court has refused to release <rs xml:id="R1">
<rs xml:id="R2">Rahway State Prison</rs> inmate</rs>
<rs xml:id="R3">James Scott</rs> on bail.</s>
<s n="2">
<rs xml:id="R4">The fighter</rs> is serving 30-40 years
for a 1975 armed robbery conviction in<rs xml:id="R5">the penitentiary</rs>.</s>
<!-- ... -->
<linkGrp type="periphrasis">
<link target="#R1 #R3 #R4"/>
<link target="#R2 #R5"/>
</linkGrp>
Schematron
<constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" ident="linkTargets3" scheme="schematron" xml:lang="en">
<constraint>
<sch:rule context="tei:link">
<sch:assert test="contains(normalize-space(@target),' ')">You must supply at least two values for @target on <<sch:name/>>.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>Content model
<content>
<empty/>
</content>