att.typed

Module tei
Members TEI ab abbr add addName affiliation biblStruct change collection corr correspAction correspDesc damage del desc div divGen faith figure forename fw g genName gloss graphic head idno label lb lg limItem list listBibl listChange listObject listOrg listPerson listPlace location mapping milestone msDesc msName msPart name nameLink nationality note noteGrp num objectName occupation org orgName persName placeName ptr quote ref reg residence roleName rs settlement standOff surface surfaceGrp surname table term text title titlePage titlePart trailer zone
Attributes Attributes
type characterizes the element in some sense, using any convenient classification scheme or typology.
Status Optional
Datatype teidata.enumerated

<div type="verse">
   
<head>Night in Tarras</head>
   
<lg type="stanza">
      
<l>At evening tramping on the hot white road</l>
      
<l></l>
   
</lg>
   
<lg type="stanza">
      
<l>A wind sprang up from nowhere as the sky</l>
      
<l></l>
   
</lg>
</div>
Note
The type attribute is present on a number of elements, not all of which are members of att.typed, usually because these elements restrict the possible values for the attribute in a specific way.
Schematron

<sch:rule context="tei:*[@subtype]">
   
<sch:assert test="@type">The<sch:name/>element should not be categorized in detail with @subtype unless also categorized in general with @type</sch:assert>
</sch:rule>
Note
When appropriate, values from an established typology should be used. Alternatively a typology may be defined in the associated TEI header. If values are to be taken from a project-specific list, this should be defined using the valList element in the project-specific schema description, as described in 23.3.1.3. Modification of Attribute and Attribute Value Lists .
Source Github

<classSpec rend="change" module="tei" xml:id="TYPED" type="atts" ident="att.typed" predeclare="true">
   
<desc>provides attributes that can be used to classify or subclassify elements in any way.</desc>
   
<classes/>
   
<attList>
      
<attDef ident="type" usage="opt">
   
<!-- Any time changes are made to this @type attribute, you should change the definitions in att.entryLike and att.textCritical if needed for consistency. -->
         
<desc>characterizes the element in some sense, using any convenient
 classification scheme or typology.
</desc>
         
<datatype>
            
<dataRef key="teidata.enumerated"/>
         
</datatype>
      
</attDef>
   
</attList>
</classSpec>