(class specification) contains reference information for a TEI element class; that is a group of elements which appear together in content models, or which share some common attribute, or both. [22.3. Specification Elements 22.6. Class Specifications] |

| QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
|---|---|---|---|---|---|---|---|
| ana | restriction of list of xs:anyURI | optional |
|
||||
| cert | union of(xs:double, restriction of xs:token) | optional |
|
||||
| change | restriction of list of xs:anyURI | optional |
|
||||
| copyOf | xs:anyURI | optional |
|
||||
| corresp | restriction of list of xs:anyURI | optional |
|
||||
| exclude | restriction of list of xs:anyURI | optional |
|
||||
| facs | restriction of list of xs:anyURI | optional |
|
||||
| generate | restriction of list of restriction of xs:token | optional |
|
||||
| ident | xs:Name | required |
|
||||
| mode | restriction of xs:token | add | optional |
|
|||
| module | xs:NCName | optional |
|
||||
| n | xs:string | optional |
|
||||
| next | xs:anyURI | optional |
|
||||
| predeclare | xs:boolean | false | optional |
|
|||
| prev | xs:anyURI | optional |
|
||||
| rend | restriction of list of restriction of xs:token | optional |
|
||||
| rendition | restriction of list of xs:anyURI | optional |
|
||||
| resp | restriction of list of xs:anyURI | optional |
|
||||
| sameAs | xs:anyURI | optional |
|
||||
| select | restriction of list of xs:anyURI | optional |
|
||||
| style | xs:string | optional |
|
||||
| synch | restriction of list of xs:anyURI | optional |
|
||||
| type | restriction of xs:token | required |
|
||||
| validUntil | xs:date | optional |
|
||||
| xml:base | xs:anyURI | optional |
|
||||
| xml:id | xs:ID | optional |
|
||||
| xml:lang | union of(xs:language, restriction of xs:token) | optional |
|
||||
| xml:space | restriction of xs:token | optional |
|
<xs:element name="classSpec"> <xs:annotation> <xs:documentation>(class specification) contains reference information for a TEI element class; that is a group of elements which appear together in content models, or which share some common attribute, or both. [22.3. Specification Elements 22.6. Class Specifications]</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:group ref="tei:model.glossLike"/> <xs:group ref="tei:model.descLike"/> </xs:choice> <xs:element minOccurs="0" ref="tei:classes"/> <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:constraintSpec"/> <xs:element minOccurs="0" ref="tei:attList"/> <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:exemplum"/> <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:remarks"/> <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:listRef"/> </xs:sequence> <xs:attributeGroup ref="tei:att.global.attributes"/> <xs:attributeGroup ref="tei:att.identified.attributes"/> <xs:attribute name="type" use="required"> <xs:annotation> <xs:documentation>indicates whether this is a model class or an attribute class</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="model"> <xs:annotation> <xs:documentation>(content model) members of this class appear in the same content models</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="atts"> <xs:annotation> <xs:documentation>(attributes) members of this class share common attributes</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="generate"> <xs:annotation> <xs:documentation>indicates which alternation and sequence instantiations of a model class may be referenced. By default, all variations are permitted.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction> <xs:simpleType> <xs:list> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="alternation"> <xs:annotation> <xs:documentation>members of the class are alternatives</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequence"> <xs:annotation> <xs:documentation>members of the class are to be provided in sequence</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceOptional"> <xs:annotation> <xs:documentation>members of the class may be provided, in sequence, but are optional</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceOptionalRepeatable"> <xs:annotation> <xs:documentation>members of the class may be provided one or more times, in sequence, but are optional.</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceRepeatable"> <xs:annotation> <xs:documentation>members of the class may be provided one or more times, in sequence</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="alternation"> <xs:annotation> <xs:documentation>members of the class are alternatives</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequence"> <xs:annotation> <xs:documentation>members of the class are to be provided in sequence</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceOptional"> <xs:annotation> <xs:documentation>members of the class may be provided, in sequence, but are optional</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceOptionalRepeatable"> <xs:annotation> <xs:documentation>members of the class may be provided one or more times, in sequence, but are optional.</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceRepeatable"> <xs:annotation> <xs:documentation>members of the class may be provided one or more times, in sequence</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="alternation"> <xs:annotation> <xs:documentation>members of the class are alternatives</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequence"> <xs:annotation> <xs:documentation>members of the class are to be provided in sequence</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceOptional"> <xs:annotation> <xs:documentation>members of the class may be provided, in sequence, but are optional</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceOptionalRepeatable"> <xs:annotation> <xs:documentation>members of the class may be provided one or more times, in sequence, but are optional.</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceRepeatable"> <xs:annotation> <xs:documentation>members of the class may be provided one or more times, in sequence</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="alternation"> <xs:annotation> <xs:documentation>members of the class are alternatives</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequence"> <xs:annotation> <xs:documentation>members of the class are to be provided in sequence</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceOptional"> <xs:annotation> <xs:documentation>members of the class may be provided, in sequence, but are optional</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceOptionalRepeatable"> <xs:annotation> <xs:documentation>members of the class may be provided one or more times, in sequence, but are optional.</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceRepeatable"> <xs:annotation> <xs:documentation>members of the class may be provided one or more times, in sequence</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="alternation"> <xs:annotation> <xs:documentation>members of the class are alternatives</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequence"> <xs:annotation> <xs:documentation>members of the class are to be provided in sequence</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceOptional"> <xs:annotation> <xs:documentation>members of the class may be provided, in sequence, but are optional</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceOptionalRepeatable"> <xs:annotation> <xs:documentation>members of the class may be provided one or more times, in sequence, but are optional.</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="sequenceRepeatable"> <xs:annotation> <xs:documentation>members of the class may be provided one or more times, in sequence</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> </xs:list> </xs:simpleType> <xs:minLength value="1"/> <xs:maxLength value="5"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> |