<specGrp>

<specGrp> (gruppo di istruzioni) contiene un qualsiasi raggruppamento funzionale di istruzioni per l'uso all'interno del modulo corrente [22.2 Modules and Schemas]
Modulo tagdocs — Documentation Elements
Attributi
Membro del
Contenuto in
Può contenere
Nota

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.

Esempio
<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>
Dichiarazione
<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 )*
}