<classSpec>
<classSpec> (spécification de classe) contient des informations de référence pour une classe d'éléments TEI, c'est-à-dire un groupe d'éléments qui figurent ensemble dans des modèles de contenu ou qui partagent un attribut commun, ou qui ont l'un et l'autre. | |||||||||||||||
Module | tagdocs — 22 Documentation Elements | ||||||||||||||
En complément des attributs globaux | att.identified (@ident, @predeclare, @module) (att.combinable (@mode))
|
||||||||||||||
Utilisé par | |||||||||||||||
Peut contenir | |||||||||||||||
Declaration |
element classSpec { att.global.attributes, att.identified.attributes, att.combinable.attributes, attribute type { "model" | "atts" }, attribute generate { list { ( "alternation" | "sequence" | "sequenceOptional" | "sequenceOptionalRepeatable" | "sequenceRepeatable" ), ( "alternation" | "sequence" | "sequenceOptional" | "sequenceOptionalRepeatable" | "sequenceRepeatable" )?, ( "alternation" | "sequence" | "sequenceOptional" | "sequenceOptionalRepeatable" | "sequenceRepeatable" )?, ( "alternation" | "sequence" | "sequenceOptional" | "sequenceOptionalRepeatable" | "sequenceRepeatable" )?, ( "alternation" | "sequence" | "sequenceOptional" | "sequenceOptionalRepeatable" | "sequenceRepeatable" )? } }?, ( model.glossLike*, classes?, constraintSpec*, attList?, exemplum*, remarks*, listRef* ) } |
||||||||||||||
Exemple |
<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> |