<specGrpRef>

<specGrpRef> (reference to a specification group) indicates that the declarations contained by the specGrp referenced should be inserted at this point.
Moduletagdocs — 22 Documentation Elements
Attributesatt.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change))
targetpoints at the specification group which logically belongs here.
Status Required
Datatype

<rng:ref name="data.pointer"/>
data.pointer
Used by
Contained by
May containEmpty element
Declaration

<rng:element name="specGrpRef">
 <rng:ref name="att.global.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:attribute name="target">
  <rng:ref name="data.pointer"/>
 </rng:attribute>
 <rng:empty/>
</rng:element>
element specGrpRef
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   attribute target { data.pointer },
   empty
}
Example
<p>This part of the module contains declarations for names of persons, places, and
organisations: <specGrpRef target="#names.pers"/>
 <specGrpRef target="#names.place"/>
 <specGrpRef target="#names.org"/>
</p>
<!-- elsewhere -->
<specGrp xml:id="names.pers">
<!--... -->
</specGrp>
<!-- elsewhere -->
<specGrp xml:id="names.place">
<!--... -->
</specGrp>
<!-- elsewhere -->
<specGrp xml:id="names.org">
<!--... -->
</specGrp>
Note
In ODD documentation processing, a specGrpRef usually produces a comment indicating that a set of declarations printed in another section will be inserted at this point in the specGrp being discussed. In schema processing, the contents of the specified specGrp are made available for inclusion in the generated schema.
The specification group identified by the target attribute will normally be part of the current ODD document.