<altGrp>

<altGrp> (alternation group) 要素altまたはポインタ要素ptrをまとめる. [16.8 Alternation]
モジュールlinking — Linking, Segmentation, and Alignment
属性att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) att.pointing.group (@domains, @targFunc) (att.pointing (@targetLang, @target, @evaluate)) (att.typed (@type, @subtype))
mode当該要素でまとめられたものの,選択度を示す.
状態 任意
データ型

<rng:ref name="data.enumerated"/>
data.enumerated
正当な値:
excl
(exclusive) 高々ひとつしか選択できない. [初期値]
incl
(inclusive) 複数を選択できる.
クラブのメンバー
上位
analysis: cl m phr s span w
figures: cell figure table
linking: ab seg
nets: graph
spoken: u writing
tagdocs: eg valDesc
textcrit: app lem rdg wit witDetail
verse: metSym rhyme
下位
core: ptr
linking: alt
宣言

<rng:element name="altGrp">
 <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.pointing.group.attributes"/>
 <rng:ref name="att.pointing.attributes"/>
 <rng:ref name="att.typed.attributes"/>
 <rng:optional>
  <rng:attribute name="mode"
   a:defaultValue="excl">

   <xhtml:dl class="valList"/>
  </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.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.pointing.group.attributes,
   att.pointing.attributes,
   att.typed.attributes,
   attribute mode { text }?,
   ( alt | ptr )*
}
<altGrp mode="excl">
 <alt target="#dm #lt #bb"
  weights="0.5 0.25 0.25"/>

 <alt target="#rl #dbweights="0.5 0.5"/>
</altGrp>
<altGrp mode="incl">
 <alt target="#dm #rlweights="0.90 0.90"/>
 <alt target="#lt #rlweights="0.5 0.5"/>
 <alt target="#bb #rlweights="0.5 0.5"/>
 <alt target="#dm #dbweights="0.10 0.10"/>
 <alt target="#lt #dbweights="0.45 0.90"/>
 <alt target="#bb #dbweights="0.45 0.90"/>
</altGrp>
解説

任意数の選択肢,ポインタ,拡張ポインタを示す.