<elementSpec>
<elementSpec> (element specification) documents the structure, content, and purpose of a single element type. 22.4.4 Element Specifications 22 Documentation Elements | |||||||||||||
Modul | tagdocs — 22 Documentation Elements | ||||||||||||
Neben global gültigen Attributen | att.identified (@ident, @predeclare, @module, @status) (att.combinable (@mode))
|
||||||||||||
Verwendet von | |||||||||||||
Kann enthalten | |||||||||||||
Deklaration |
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* ) } |
||||||||||||
Beispiel |
<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> |