Skip to content

<ref>

reference

defines a reference to another location, possibly modified by additional text or comment.

Module coreCOXRSAPT

Attributes

Classes and content

Member of
May contain

dictionaries

gaiji

textstructure

Character data

  • character data
Contained by

analysis

cmc

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 &lt;<sch:name/>&gt;.</sch:report>
      </sch:rule>
    </constraint>
  </constraintSpec>

Content model

<content>
    <macroRef key="macro.paraContent"/>
  </content>