<attDef>
<attDef> (attribute definition) contains the definition of a single attribute. 22.4.5 Attribute List Specification | |||||||||||||
Module | tagdocs — 22 Documentation Elements | ||||||||||||
In addition to global attributes | att.identified (@ident, @predeclare, @module, @mode)
|
||||||||||||
Used by | |||||||||||||
May contain | |||||||||||||
Declaration |
element attDef { att.global.attributes, att.identified.attributes, attribute usage { "req" | "mwa" | "rec" | "rwa" | "opt" }?, attribute ns { data.namespace }?, ( model.glossLike*, datatype?, constraintSpec*, defaultVal?, ( valList | valDesc+ )?, exemplum*, remarks* ) } |
||||||||||||
Example |
<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> |