<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. | |||||||||||||||
Modul | tagdocs — 22 Documentation Elements | ||||||||||||||
Neben global gültigen Attributen | att.identified (@ident, @predeclare, @module, @mode)
|
||||||||||||||
Verwendet von | |||||||||||||||
Kann enthalten | |||||||||||||||
Deklaration |
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?, constraintSpec*, attList?, exemplum*, remarks*, listRef* ) } |
||||||||||||||
Beispiel |
<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> |