att.typed

att.typed Attributes which can be used to classify or sub-classify features.
Module MEI.shared
Members
Attributes
@subtype (optional) Provide any sub-classification for the element, additional to that given by its type attribute. Value of datatype NMTOKEN. att.typed
@type (optional) Characterizes the element in some sense, using any convenient classification scheme or typology. Value of datatype NMTOKEN. att.typed
Declaration
<attDef ident= "type" usage= "opt">
<desc>Characterizes the element in some sense, using any convenient classification scheme or typology. </desc>
<datatype maxOccurs= "1" minOccurs= "1">
<rng:data type= "NMTOKEN"/>
</datatype>
</attDef>
<attDef ident= "subtype" usage= "opt">
<desc>Provide any sub-classification for the element, additional to that given by its type attribute. </desc>
<datatype maxOccurs= "1" minOccurs= "1">
<rng:data type= "NMTOKEN"/>
</datatype>
<constraintSpec ident= "When_subtype" scheme= "isoschematron">
<constraint>
<sch:rule context= "mei:*[@subtype]">
<sch:assert test= "@type"> An element with a subtype attribute must have a type attribute. </sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
Remarks

When appropriate, values from an established typology should be used. Alternatively, a typology may be defined in the associated MEI header using the classification element. If values are to be taken from a project-specific list, this should be defined using the TEI valList element in a project-specific schema description.

Constraints
An element with a subtype attribute must have a type attribute.
<sch:rule context= "mei:*[@subtype]">
<sch:assert test= "@type"> An element with a subtype attribute must have a type attribute. </sch:assert>
</sch:rule>

MEI Guidelines Version 3.0.0

Attribute Classes