<attDef>
<attDef> (definición de atributo) contiene la definición de un único atributo. [22.4.5 Attribute List Specification] | |||||||||||||||||
Módulo | tagdocs — 22 Documentation Elements | ||||||||||||||||
Atributos | att.global (@xml:id, @n, @xml:lang, @rend, @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 | tagdocs: attList | ||||||||||||||||
Puede contener | |||||||||||||||||
Declaración |
element attDef { 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 usage { "req" | "mwa" | "rec" | "rwa" | "opt" }?, attribute ns { data.namespace }?, ( model.glossLike*, datatype?, constraintSpec*, defaultVal?, ( valList | valDesc+ )?, exemplum*, remarks* ) } | ||||||||||||||||
Schematron | <sch:assert test="tei:datatype or tei:valList[@type='closed']"> Attribute [@<sch:value-of select="@ident"/>] from [<sch:value-of select="ancestor::*[@ident]/@ident"/>] must have a closed valList or a datatype</sch:assert> | ||||||||||||||||
Ejemplo | <attDef usage="rec" ident="type"> <desc>specifies a name conventionally used for this level of subdivision, e.g. <val>act</val>, <val>volume</val>, <val>book</val>, <val>section</val>, <val>canto</val>, etc.</desc> </attDef> |