§

<ref>

<ref> (reference) defines a reference to another location, possibly modified by additional text or comment. [3.6. Simple Links and Cross-References 16.1. Links]
Modulecore
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @rendition)) (att.global.responsibility (@cert, @resp)) att.pointing (@target) att.typed (@type)
target
Status Required
type
Status Optional
Legal values are:
crossref
(A cross-reference (reference to another part of the article).) To link to another part of your article, use <ref type="crossref">, and point to the xml:id value of the target location: <ref type="crossref" target="#intro">.
bibl
(A bibliographic reference (reference to an entry in the bibliography).) To link to a bibliographic description in the bibliography, use <ref type="bibl">, and point to the xml:id value of the target location: <ref type="bibl" target="#ide88">.
Member of
Contained by
May contain
Declaration
element ref
{
   attribute target { text },
   attribute type { text }?,
   macro.paraContent
}
Schematron

<sch:rule context="tei:ref">
<sch:report test="count(tokenize(normalize-space(@target), '\s+')) > 1">
 <sch:name/> with multiple targets is not supported.
</sch:report></sch:rule>
Schematron

<sch:rule context="tei:ref[@type eq 'bibl']">
<sch:assert test="not(matches(., '^\(.*\)$'))"> Parentheses are not part of bibliographic references. Please move them out of <sch:name/>.
</sch:assert></sch:rule>
Schematron

<sch:rule context="tei:ref[@type eq 'bibl']">
<sch:assert test="id(substring-after(@target, '#'))/(self::tei:bibl|self::tei:person[ancestor::tei:particDesc/parent::tei:profileDesc])"> A bibliographic reference must point to an entry in the bibliography.
</sch:assert></sch:rule>
Schematron

<sch:rule context="tei:ref[id(substring-after(@target, '#'))/self::tei:bibl]">
<sch:assert test="@type eq 'bibl'"> A bibliographic reference must be typed as @type="bibl".
</sch:assert></sch:rule>
Schematron

<s:report test="@target and @cRef">Only one of the
attributes @target' and @cRef' may be supplied on <s:name/></s:report>
Example
See especially <ref target="http://www.natcorp.ox.ac.uk/Texts/A02.xml#s2">the second
sentence</ref>
Example
See also <ref target="#locution">s.v. <term>locution</term>
</ref>.
Note

The target and cRef attributes are mutually exclusive.