TEI: Guidelines for Electronic Text Encoding and Interchange

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

<classes>

<classes> (classes) specifies all the classes of which the documented element or class is a member or subclass. [23.5 Element Specifications 23.6 Class Specifications]
Module tagdocs — Documentation Elements
Attributes
mode mode⚓︎ specifies the effect of this declaration on its parent module.
Status Optional
Legal values are:
change
this declaration changes the declaration of the same name in the current definition
replace
this declaration replaces the declaration of the same name in the current definition [Default]
Contained by
May contain
tagdocs: memberOf
Note

An empty classes element indicates that the element documented is not a member of any class. This should not generally happen.

Example
<classes>
<memberOf key="model.attributable"/>
<memberOf key="att.declarable"/>
</classes>

This classes element indicates that the element documented (which may be an element or a class) is a member of two distinct classes: model.attributable and att.declarable.

Content model
<content>
<elementRef key="memberOf" minOccurs="0"
maxOccurs="unbounded"/>

</content>
Schema Declaration
<rng:element name="classes">
<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:optional>
<rng:attribute name="mode"
a:defaultValue="replace">

<rng:choice>
<rng:value>change</rng:value>
<rng:value>replace</rng:value>
</rng:choice>
</rng:attribute>
</rng:optional>
<rng:zeroOrMore>
<rng:ref name="memberOf"/>
</rng:zeroOrMore>
</rng:element>
element classes
{
 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,
 attribute mode { "change" | "replace" }?,
 memberOf*
}

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