<classSpec>
<classSpec> (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. | |||||||||||||||
Module | tagdocs — 22 Documentation Elements | ||||||||||||||
Attributes | att.identified (@ident, @predeclare, @module, @mode)
| ||||||||||||||
Used by | |||||||||||||||
May contain | |||||||||||||||
Declaration |
element classSpec { att.global.attributes, att.identified.attributes, attribute type { "model" | "atts" }, attribute generate { list { ( "alternation" | "sequence" | "sequenceOptional" | "sequenceOptionalRepeatable" | "sequenceRepeatable" ), ( "alternation" | "sequence" | "sequenceOptional" | "sequenceOptionalRepeatable" | "sequenceRepeatable" )* } }?, ( model.glossLike*, classes?, attList?, exemplum*, remarks*, listRef* ) } | ||||||||||||||
Example | <classSpec module="tei" type="model" ident="model.segLike"> <desc>groups elements used for arbitrary segmentation. </desc> <classes> <memberOf key="model.phrase"/> </classes> <remarks> <p>The principles on which segmentation is carried out, and any special codes or attribute values used, should be defined explicitly in the <gi>segmentation</gi> element of the <gi>encodingDesc</gi> within the associated TEI header.</p> </remarks> </classSpec> |