<elementSpec>

<elementSpec> (element specification) 要素の構造,内容,属性,目的などを示す. 22.4.4 Element Specifications 22 Documentation Elements
モジュールtagdocs — 22 Documentation Elements
属性 att.identified (@ident, @predeclare, @module, @mode)
ns (namespace) (名前空間) 当該要素が属する名前空間を示す.
状態 任意
データ型
data.namespace
usage要素や属性の必須度を示す.
状態 任意
正当な値:
req
(required)
mwa
(mandatory when applicable)
rec
(recommended)
rwa
(recommended when applicable)
opt
(optional) [初期値]
当該モジュールを使用するもの model.oddDecl
下位
宣言
element elementSpec
{
   att.global.attributes,
   att.identified.attributes,
   attribute ns { data.namespace }?,
   attribute usage { "req" | "mwa" | "rec" | "rwa" | "opt" }?,
   (
      model.glossLike*,
      classes?,
      content?,
      attList?,
      exemplum*,
      remarks*,
      listRef*
   )
}
<elementSpec
  module="tagdocs"
  xml:id="Code"
  usage="mwa"
  ident="code">

 <equiv/>
 <gloss/>
 <desc>contains literal code</desc>
 <classes>
  <memberOf key="model.emphLike"/>
 </classes>
 <content>
  <rng:text/>
 </content>
 <attList>
  <attDef ident="typeusage="opt">
   <equiv/>
   <desc>the language of the code</desc>
   <datatype>
    <rng:ref name="data.enumerated"/>
   </datatype>
  </attDef>
 </attList>
</elementSpec>