TEI: Guidelines for Electronic Text Encoding and Interchange

P5 Version 4.10.2. Last updated on 4th September 2025, revision bcfa98f42

<refsDecl>

<refsDecl> (references declaration) specifies how canonical references are constructed for this text. [2.3.6.3 Milestone Method 2.3 The Encoding Description 2.3.6 The Reference System Declaration]
Module header — The TEI Header
Attributes
Contained by
header: encodingDesc
May contain
core: p
linking: ab
Example
<refsDecl>
<cRefPattern matchPattern="([A-Za-z0-9]+) ([0-9]+):([0-9]+)"
replacementPattern="#xpath(//body/div[@n='1ドル']/div[2ドル]/div3[3ドル])"/>

</refsDecl>

This example is a formal representation for the referencing scheme described informally in the following example.

Example
<refsDecl>
<p>References are made up by concatenating the value for the
<att>n</att> attribute on the highest level <gi>div</gi>
element, followed by a space, followed by the sequential
number of the next level <gi>div</gi> followed by a colon
followed by the sequential number of the next (and lowest)
level <gi>div</gi>.</p>
</refsDecl>
Schematron

<sch:pattern is-a="declarable">
<sch:param name="tde" value="tei:refsDecl"/>
</sch:pattern>
Content model
<content>
<alternate>
<classRef key="model.pLike" minOccurs="1"
maxOccurs="unbounded"/>

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

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

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

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

[English] [Deutsch] [Español] [Italiano] [Français] [日本語] [한국어] [中文]



TEI Guidelines P5 Version 4.10.2. Last updated on 4th September 2025, revision bcfa98f42. This page generated on 2025年09月04日T16:27:03Z.

AltStyle によって変換されたページ (->オリジナル) /