<altGrp>

<altGrp> (groupe d'alternatives) regroupe une collection d'éléments alt et, éventuellement, de pointeurs. [16.8 Alternation]
Module linking — Linking, Segmentation, and Alignment
Attributs
mode⚓︎ établit si les alternatives rassemblées dans cette collection sont exclusives ou non.
Statut Optionel
Type de données teidata.enumerated
Les valeurs autorisées sont:
excl
(exclusif) indique que l'alternative est exclusive, c'est-à-dire qu'une seule des alternatives proposées est possible. [Valeur par défaut]
incl
(non exclusif) indique que l'alternative n'est pas exclusive, c'est-à-dire qu'une alternative au moins est vraie.
Membre du
Contenu dans
analysis: cl m phr s span w
figures: cell figure table
linking: ab seg standOff
nets: graph
spoken: u writing
tagdocs: eg valDesc
textcrit: lem rdg wit witDetail
verse: metSym rhyme
Peut contenir
core: desc ptr
linking: alt
Note

Un nombre quelconque d'éléments alternatifs, de pointeurs et de pointeurs étendus.

Exemple
<altGrp mode="excl">
 <alt target="#dm #lt #bb"
  weights="0.5 0.25 0.25"/>

 <alt target="#rl #dbweights="0.5 0.5"/>
</altGrp>
Exemple
<altGrp mode="excl">
 <alt target="#fr_dm #fr_lt #fr_bb"
  weights="0.5 0.25 0.25"/>

 <alt target="#fr_rl #fr_db"
  weights="0.5 0.5"/>

</altGrp>
Exemple
<altGrp mode="incl">
 <alt target="#fr_dm #fr_rl"
  weights="0.90 0.90"/>

 <alt target="#fr_lt #fr_rl"
  weights="0.5 0.5"/>

 <alt target="#fr_bb #fr_rl"
  weights="0.5 0.5"/>

 <alt target="#fr_dm #fr_db"
  weights="0.10 0.10"/>

 <alt target="#fr_lt #fr_db"
  weights="0.45 0.90"/>

 <alt target="#fr_bb #fr_db"
  weights="0.45 0.90"/>

</altGrp>
Exemple
<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>
Modèle de contenu
<content>
 <sequence>
  <classRef key="model.descLike"
   minOccurs="0maxOccurs="unbounded"/>

  <alternate minOccurs="0"
   maxOccurs="unbounded">

   <elementRef key="alt"/>
   <elementRef key="ptr"/>
  </alternate>
 </sequence>
</content>
Schéma Declaration
<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.global.source.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:group>
  <rng:zeroOrMore>
   <rng:ref name="model.descLike"/>
  </rng:zeroOrMore>
  <rng:zeroOrMore>
   <rng:choice>
    <rng:ref name="alt"/>
    <rng:ref name="ptr"/>
   </rng:choice>
  </rng:zeroOrMore>
 </rng:group>
</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.global.source.attributes,
   att.pointing.group.attributes,
   att.pointing.attributes,
   att.typed.attributes,
   attribute mode { "excl" | "incl" }?,
   ( model.descLike*, ( alt | ptr )* )
}