<altGrp>

<altGrp> (alternation group) groups a collection of alt elements and possibly pointers. [16.8 Alternation]
Modulelinking — 16 Linking, Segmentation, and Alignment
Attributesatt.global (@xml:id, @n, @xml:lang, @rend, @style, @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)) att.pointing.group (@domains, @targFunc) (att.pointing (@targetLang, @target, @evaluate)) (att.typed (@type, @subtype))
modestates whether the alternations gathered in this collection are exclusive or inclusive.
Status Optional
Datatype

<rng:ref name="data.enumerated"/>
data.enumerated
Legal values are:
excl
(exclusive) indicates that the alternation is exclusive, i.e. that at most one of the alternatives occurs. [Default]
incl
(inclusive) indicates that the alternation is not exclusive, i.e. that one or more of the alternatives occur.
Used by
Contained by
analysis: cl m phr s span w
figures: cell figure table
linking: ab seg
nets: graph
spoken: u writing
tagdocs: valDesc
textcrit: app lem rdg wit witDetail
verse: metSym rhyme
May contain
core: ptr
linking: alt
Declaration

<rng:element name="altGrp">
 <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:ref name="att.pointing.group.attributes"/>
 <rng:ref name="att.pointing.attributes"/>
 <rng:ref name="att.typed.attributes"/>
 <rng:optional>
  <rng:attribute name="mode" a: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.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.pointing.group.attributes,
   att.pointing.attributes,
   att.typed.attributes,
   attribute mode { "excl" | "incl" }?,
   ( alt | ptr )*
}
Example
<altGrp mode="excl">
 <alt targets="#dm #lt #bb" weights="0.5 0.25 0.25"/>
 <alt targets="#rl #db" weights="0.5 0.5"/>
</altGrp>
Example
<altGrp mode="incl">
 <alt targets="#dm #rl" weights="0.90 0.90"/>
 <alt targets="#lt #rl" weights="0.5 0.5"/>
 <alt targets="#bb #rl" weights="0.5 0.5"/>
 <alt targets="#dm #db" weights="0.10 0.10"/>
 <alt targets="#lt #db" weights="0.45 0.90"/>
 <alt targets="#bb #db" weights="0.45 0.90"/>
</altGrp>
Note
Any number of alternations, pointers or extended pointers.