<alt>

<alt> (代替選択肢) 要素などが選択的である場合のいち選択肢を示す。 [16.8 Alternation]
モジュール linking — Linking, Segmentation, and Alignment
属性
target⚓︎ 1つまたは複数のURI参照を指名することで、参照先を指定する。
Derived from att.pointing
状態 任意
データ型 2–∞ occurrences of teidata.pointer 空白文字で区切られる
mode⚓︎ 示された選択肢の選択度を示す。
状態 推薦される
データ型 teidata.enumerated
正当な値:
excl
(単一選択) 高々ひとつしか選択できない。
incl
(複数選択) 複数を選択できる。
weights⚓︎ 属性modeの値がexclの場合、各重みは対応する代替が発生する確率を示す。 属性modeの値がinclの場合、他の選択肢の少なくとも1つが発生した場合に対応する代替が発生する確率を示す。
状態 任意
データ型 2–∞ occurrences of teidata.probability 空白文字で区切られる
解説

属性modeの値がexclの場合、重みの合計は1でなければならない。属性mode値が inclの場合、重みの合計は0から代替数の範囲内になければならない。

クラブのメンバー
上位
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
下位 空要素
<alt mode="excltarget="#we.fun #we.sun"
 weights="0.5 0.5"/>
Content model
<content>
 <empty/>
</content>
宣言
<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
}