TEI: Guidelines for Electronic Text Encoding and Interchange

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

<sequence>

<sequence> indicates that the constructs referenced by its children form a sequence. [23.5.1 Defining Content Models]
Module tagdocs — Documentation Elements
Attributes
preserveOrder preserveOrder⚓︎ if false, indicates that component elements of a sequence may occur in any order.
Status Optional
Member of
model.contentPart
Contained by
Example
<content>
<sequence>
<alternate>
<elementRef key="name"/>
<elementRef key="persName"/>
</alternate>
<elementRef key="placeName" minOccurs="0"
maxOccurs="5"/>

</sequence>
</content>

This example content model matches a sequence consisting of either a name or a persName followed by nothing, or by a sequence of up to five placeName elements.

Schematron

<sch:rule context="tei:sequence">
<sch:assert test="count(*) gt 1">The sequence element must have at least two child elements</sch:assert>
</sch:rule>
Content model
<content>
<classRef key="model.contentPart"
maxOccurs="unbounded"/>

</content>
Schema Declaration
<rng:element name="sequence">
<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.repeatable.attributes"/>
<rng:optional>
<rng:attribute name="preserveOrder">
<rng:ref name="teidata.truthValue"/>
</rng:attribute>
</rng:optional>
<rng:oneOrMore>
<rng:ref name="model.contentPart"/>
</rng:oneOrMore>
</rng:element>
element sequence
{
 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.repeatable.attributes,
 attribute preserveOrder { teidata.truthValue }?,
 model.contentPart+
}

[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 によって変換されたページ (->オリジナル) /