<alt>

<alt> (alternation) identifies an alternation or a set of choices among elements or passages. [16.8 Alternation]
Module linking — Linking, Segmentation, and Alignment
Attributes 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.global.source (@source)) att.typed (@type, @subtype) att.pointing (target, @targetLang, @evaluate)
target⚓︎ specifies the destination of the reference by supplying one or more URI References
Derived from att.pointing
Status Optional
Datatype 2–∞ occurrences of teidata.pointer separated by whitespace
mode⚓︎ states whether the alternations gathered in this collection are exclusive or inclusive.
Status Recommended
Datatype teidata.enumerated
Legal values are:
excl
(exclusive) indicates that the alternation is exclusive, i.e. that at most one of the alternatives occurs.
incl
(inclusive) indicates that the alternation is not exclusive, i.e. that one or more of the alternatives occur.
weights⚓︎ If mode is excl, each weight states the probability that the corresponding alternative occurs. If mode is incl each weight states the probability that the corresponding alternative occurs given that at least one of the other alternatives occurs.
Status Optional
Datatype 2–∞ occurrences of teidata.probability separated by whitespace
Note

If mode is excl, the sum of weights must be 1. If mode is incl, the sum of weights must be in the range from 0 to the number of alternants.

Member of
Contained by
analysis: cl m phr s span w
figures: cell figure table
nets: graph
spoken: u writing
tagdocs: eg valDesc
textcrit: lem rdg wit witDetail
verse: metSym rhyme
May contain Empty element
Example
<alt mode="excltarget="#we.fun #we.sun"
 weights="0.5 0.5"/>
Content model
<content>
 <empty/>
</content>
Schema Declaration
<rng:element name="alt">
 <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.typed.attributes"/>
 <rng:ref name="att.pointing.attribute.targetLang"/>
 <rng:ref name="att.pointing.attribute.evaluate"/>
 <rng:optional>
  <rng:attribute name="target">
   <rng:list>
    <rng:ref name="teidata.pointer"/>
    <rng:ref name="teidata.pointer"/>
    <rng:zeroOrMore>
     <rng:ref name="teidata.pointer"/>
    </rng:zeroOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="mode">
   <rng:choice>
    <rng:value>excl</rng:value>
    <rng:value>incl</rng:value>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="weights">
   <rng:list>
    <rng:ref name="teidata.probability"/>
    <rng:ref name="teidata.probability"/>
    <rng:zeroOrMore>
     <rng:ref name="teidata.probability"/>
    </rng:zeroOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:empty/>
</rng:element>
element alt
{
   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.typed.attributes,
   att.pointing.attribute.targetLang,
   att.pointing.attribute.evaluate,
   attribute target
   {
      list { teidata.pointer, teidata.pointer, teidata.pointer* }
   }?,
   attribute mode { "excl" | "incl" }?,
   attribute weights
   {
      list { teidata.probability, teidata.probability, teidata.probability* }
   }?,
   empty
}