<specGrp>

<specGrp> (specification group) 当該モジュール中にある規定をまとめる。 [22.2 Modules and Schemas]
モジュール tagdocs — Documentation Elements
属性
クラブのメンバー
上位
下位
解説

規定のグループは、属性xml:idで参照される。その宣言は、 (要素specGrpRefによる)参照にのみ示される要素 <module>の中にある。

ODDソフトが異なれば、要素specGrp中に、異なる文法による規 定が生成される。TEI P5では、XMLとRELAX NGの両方によるモジュールを 生成する。簡易RELAX NG文法は、表示にのみ使用する。

<specGrp xml:id="xDAILC">
 <elementSpec ident="s">
<!-- ... -->
 </elementSpec>
 <elementSpec ident="cl">
<!-- ... -->
 </elementSpec>
 <elementSpec ident="w">
<!-- ... -->
 </elementSpec>
 <elementSpec ident="m">
<!-- ... -->
 </elementSpec>
 <elementSpec ident="c">
<!-- ... -->
 </elementSpec>
</specGrp>

This specification group with identifier xDAILC contains specifications for the elements s,cl,w, etc.

Content model
<content>
 <alternate minOccurs="0"
  maxOccurs="unbounded">

  <classRef key="model.oddDecl"/>
  <classRef key="model.oddRef"/>
  <classRef key="model.divPart"/>
  <elementRef key="listRef"/>
 </alternate>
</content>
宣言
<rng:element name="specGrp">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:zeroOrMore>
  <rng:choice>
   <rng:ref name="model.oddDecl"/>
   <rng:ref name="model.oddRef"/>
   <rng:ref name="model.divPart"/>
   <rng:ref name="listRef"/>
  </rng:choice>
 </rng:zeroOrMore>
</rng:element>
element specGrp
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   ( model.oddDecl | model.oddRef | model.divPart | listRef )*
}