<ref>
reference
defines a reference to another location, possibly modified by additional text or comment.
Attributes
Global and inherited attributes:
Classes and content
- Member of
- May contain
core
gaiji
msdescription
namesdates
tagdocs
textstructure
transcr
Character data
- character data
- Contained by
cmc
core
- abbr
- add
- addrLine
- analytic
- author
- bibl
- biblScope
- biblStruct
- cit
- citedRange
- corr
- date
- del
- desc
- distinct
- editor
- emph
- expan
- foreign
- gloss
- head
- headItem
- headLabel
- hi
- item
- l
- label
- measure
- meeting
- mentioned
- monogr
- name
- note
- num
- orig
- p
- publisher
- pubPlace
- q
- quote
- rb
- reg
- relatedItem
- resp
- rs
- rt
- said
- series
- sic
- soCalled
- speaker
- stage
- street
- term
- textLang
- time
- title
- unclear
- unit
dictionaries
figures
header
linking
msdescription
- accMat
- acquisition
- additions
- catchwords
- collation
- collection
- colophon
- condition
- custEvent
- decoNote
- explicit
- filiation
- finalRubric
- foliation
- heraldry
- incipit
- institution
- layout
- material
- musicNotation
- objectType
- origDate
- origin
- origPlace
- provenance
- repository
- rubric
- secFol
- signatures
- source
- stamp
- summary
- support
- surrogates
- typeNote
- watermark
namesdates
textstructure
Note
The @target and @cRef attributes are mutually exclusive.
Examples
See especially
<ref target="http://www.natcorp.ox.ac.uk/Texts/A02.xml#s2">the second
sentence</ref>
See also
<ref target="#locution">s.v. <term>locution</term>
</ref>
.
Schematron
<constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" scheme="schematron" ident="refAtts" xml:lang="en">
<constraint>
<sch:rule context="tei:ref">
<sch:report test="@target and @cRef">Only one of the attributes @target and @cRef may be supplied on <<sch:name/>>.</sch:report>
</sch:rule>
</constraint>
</constraintSpec>Content model
<content>
<macroRef key="macro.paraContent"/>
</content>