<classSpec>
<classSpec> (especificación de la clase) contiene informaciones relativas a una clase de elementos TEI, es decir, a un grupo de elementos que aparecen juntos en modelos de contenido, o que tienen algunos atributos en común, o ambas cosas. | |||||||||||||||||
Módulo | tagdocs — 22 Documentation Elements | ||||||||||||||||
Atributos | att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) att.identified (@ident, @predeclare, @module, @status) (att.combinable (@mode))
| ||||||||||||||||
Usado por | |||||||||||||||||
Contenido en | core: add corr del desc emph head hi item l meeting note orig p q quote ref reg said sic stage title unclear dictionaries: case colloc def dictScrap entryFree etym form gen gram gramGrp hyph iType lang lbl mood number orth per pos pron stress subc syll tns usg xr msdescription: accMat acquisition additions collation condition custEvent decoNote filiation foliation layout musicNotation origin provenance source support surrogates spoken: writing tagdocs: schemaSpec specGrp textstructure: argument body div div1 div2 div3 div4 div5 div6 div7 docEdition epigraph imprimatur postscript signed titlePart verse: rhyme | ||||||||||||||||
Puede contener | |||||||||||||||||
Declaración |
element classSpec { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.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 | model.descLike )*, classes?, constraintSpec*, attList?, exemplum*, remarks*, listRef* ) } | ||||||||||||||||
Schematron | <sch:assert test="not( @module ) or //tei:moduleSpec[ @ident = current()/@module ] or //tei:moduleRef[ @key = current()/@module ]">Class <sch:value-of select="@ident"/>: the value of the module attribute ("<sch:value-of select="@module"/>") should correspond to an existing module, via a moduleSpec or moduleRef</sch:assert> | ||||||||||||||||
Ejemplo | <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> |