<specGrp>

<specGrp> (specification group) contains any convenient grouping of specifications for use within the current module. [23.2 Modules and Schemas]
Modul tagdocs — Documentation Elements
Attribute
Mitglied des
Enthalten in
Kann enthalten
Anmerkung

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.

Beispiel
<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>
Schema Deklaration
<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 )*
}