<altGrp>

<altGrp> (alternation group) groups a collection of alt elements and possibly pointers. 16.8 Alternation
Modullinking — 16 Linking, Segmentation, and Alignment
Attribute att.pointing.group (@domains, @targFunc) (att.pointing (@type, @evaluate))
modestates whether the alternations gathered in this collection are exclusive or inclusive.
Zustand Optional
Gültige Werte:
excl
(exclusive) indicates that the alternation is exclusive, i.e. that at most one of the alternatives occurs. [Vorgabe]
incl
(inclusive) indicates that the alternation is not exclusive, i.e. that one or more of the alternatives occur.
Verwendet von
Kann enthalten
core: ptr
linking: alt
Deklaration

<rng:element name="altGrp">
<rng:ref name="att.global.attributes"/>
<rng:ref name="att.pointing.group.attributes"/>
<rng:ref name="att.pointing.attributes"/>
<rng:optional>
 <rng:attribute name="modea:defaultValue="excl">
  <rng:choice>
   <rng:value>excl</rng:value>
   <rng:value>incl</rng:value>
  </rng:choice>
 </rng:attribute>
</rng:optional>
<rng:zeroOrMore>
 <rng:choice>
  <rng:ref name="alt"/>
  <rng:ref name="ptr"/>
 </rng:choice>
</rng:zeroOrMore>
</rng:element>
element altGrp
{
   att.global.attributes,
   att.pointing.group.attributes,
   att.pointing.attributes,
   attribute mode { "excl" | "incl" }?,
   ( alt | ptr )*
}
Beispiel
<altGrp mode="excl">
 <alt targets="#dm #lt #bbweights="0.5 0.25 0.25"/>
 <alt targets="#rl #dbweights="0.5 0.5"/>
</altGrp>
Beispiel
<altGrp mode="incl">
 <alt targets="#dm #rlweights="0.90 0.90"/>
 <alt targets="#lt #rlweights="0.5 0.5"/>
 <alt targets="#bb #rlweights="0.5 0.5"/>
 <alt targets="#dm #dbweights="0.10 0.10"/>
 <alt targets="#lt #dbweights="0.45 0.90"/>
 <alt targets="#bb #dbweights="0.45 0.90"/>
</altGrp>