<specGrp>

<specGrp> (說明群組) 包含在現有模組中的細節使用說明群組。 [23.2 Modules and Schemas]
組件 tagdocs — Documentation Elements
屬性
俱乐部会员
可包含在於
可包含

A specification group is referenced by means of its xml:id attribute. The declarations it contains may be included in a schemaSpec or moduleSpec element only by reference (using a specGrpRef element): it may not be nested within a moduleSpec element.

Different ODD processors may generate representations of the specifications contained by a specGrp in different concrete syntaxes.

例子
<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 )*
}