<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 — 3 Elements Available in All TEI Documents
Attributesatt.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) att.pointing (@targetLang, @target, @evaluate) att.internetMedia (@mimeType) att.typed (@type, @subtype) att.declaring (@decls)
cRef(canonical reference) specifies the destination of the reference by supplying a canonical reference from a scheme defined in a refsDecl element in the TEI header
Status Optional
Datatype 1–∞ occurrences of 

<rng:ref name="data.word"/>
data.word
separated by whitespace
Values the value of cRef should be constructed so that when the algorithm for the resolution of canonical references (described in section 16.2.5 Canonical References) is applied to it the result is a valid URI reference to the intended target
Note
The refsDecl to use may be indicated with the decls attribute.
Currently these Guidelines only provide for a single canonical reference to be encoded on any given ref element.
Used by
Contained by
analysis: cl phr s span
iso-fs: fDescr fsDescr
linking: ab seg
nets: eLeaf eTree
spoken: u writing
tagdocs: valDesc
verse: metSym rhyme
May contain
dictionaries: lang oRef oVar pRef pVar
gaiji: g
header: biblFull idno
iso-fs: fLib fs fvLib
textstructure: floatingText
verse: caesura rhyme
Declaration

<rng:element name="ref">
 <rng:ref name="att.global.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.pointing.attributes"/>
 <rng:ref name="att.internetMedia.attributes"/>
 <rng:ref name="att.typed.attributes"/>
 <rng:ref name="att.declaring.attributes"/>
 <rng:optional>
  <rng:attribute name="cRef">
   <rng:list>
    <rng:ref name="data.word"/>
    <rng:zeroOrMore>
     <rng:ref name="data.word"/>
    </rng:zeroOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.paraContent"/>
</rng:element>
element ref
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.pointing.attributes,
   att.internetMedia.attributes,
   att.typed.attributes,
   att.declaring.attributes,
   attribute cRef { list { data.word, data.word* } }?,
   macro.paraContent
}
Schematron

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