<elementSpec>
<elementSpec> (spécification d'élément) documente la structure, le contenu et l'emploi d'un élément. 22.4.4 Element Specifications 22 Documentation Elements | |||||||||||||||
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 elementSpec { att.global.attributes, att.identified.attributes, att.combinable.attributes, attribute ns { data.namespace }?, attribute prefix { "" | data.name }?, ( model.glossLike*, classes?, content?, valList?, constraintSpec*, attList?, exemplum*, remarks*, listRef* ) } |
||||||||||||||
Exemple |
<elementSpec module="tagdocs" ident="code">
<equiv/> <gloss/> <desc>contains literal code</desc> <classes> <memberOf key="model.emphLike"/> </classes> <content> <rng:text/> </content> <attList> <attDef ident="type" usage="opt"> <equiv/> <desc>the language of the code</desc> <datatype> <rng:ref name="data.enumerated"/> </datatype> </attDef> </attList> </elementSpec> |