<refsDecl>

<refsDecl> (Angabe der Referenzstruktur) beschreibt, wie Standardreferenzen für diesen Text aufgebaut sind. [2.3.6.3 Milestone Method 2.3 The Encoding Description 2.3.6 The Reference System Declaration]
Modul header — The TEI Header
Attribute
Mitglied des
Enthalten in
header: encodingDesc
Kann enthalten
core: p
linking: ab
Beispiel
<refsDecl>
 <cRefPattern matchPattern="([A-Za-z0-9]+) ([0-9]+):([0-9]+)"
  replacementPattern="#xpath(//body/div[@n='$1']/div[$2]/div3[$3])"/>

</refsDecl>

Dieses Beispiel ist eine formale Repräsentation für das im folgenden Beispiel informell beschriebene Referenzierungsschema.

Content model
<content>
 <alternate>
  <classRef key="model.pLikeminOccurs="1"
   maxOccurs="unbounded"/>

  <elementRef key="citeStructure"
   minOccurs="1maxOccurs="unbounded"/>

  <elementRef key="cRefPattern"
   minOccurs="1maxOccurs="unbounded"/>

  <elementRef key="refStateminOccurs="1"
   maxOccurs="unbounded"/>

 </alternate>
</content>
Schema Deklaration
<rng:element name="refsDecl">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.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.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.declarable.attributes"/>
 <rng:choice>
  <rng:oneOrMore>
   <rng:ref name="model.pLike"/>
  </rng:oneOrMore>
  <rng:oneOrMore>
   <rng:ref name="citeStructure"/>
  </rng:oneOrMore>
  <rng:oneOrMore>
   <rng:ref name="cRefPattern"/>
  </rng:oneOrMore>
  <rng:oneOrMore>
   <rng:ref name="refState"/>
  </rng:oneOrMore>
 </rng:choice>
</rng:element>
element refsDecl
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.declarable.attributes,
   ( model.pLike+ | citeStructure+ | cRefPattern+ | refState+ )
}