<elementSpec>
<elementSpec> (element specification) documents the structure, content, and purpose of a single element type. 22.4.4 Element Specifications 22 Documentation Elements | |||||||||||||||
Module | tagdocs — 22 Documentation Elements | ||||||||||||||
In addition to global attributes | att.identified (@ident, @predeclare, @module, @status) (att.combinable (@mode))
|
||||||||||||||
Used by | |||||||||||||||
May contain | |||||||||||||||
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* ) } |
||||||||||||||
Example |
<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> |