<alt>

<alt> 要素などが選択的である場合のいち選択肢を示す. [16.8 Alternation]
モジュールlinking — Linking, Segmentation, and Alignment
属性att.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.typed (@type, @subtype) att.pointing (target, @targetLang, @evaluate)
targetひとつ以上のURIで,参照先を特定する.
Derived fromatt.pointing
状態 任意
データ型 2–∞ occurrences of 

<rng:ref name="data.pointer"/>
data.pointer
空白文字で区切られる
One or more syntactically valid URI references, separated by whitespace. Because whitespace is used to separate URIs, no whitespace is permitted inside a single URI. If a whitespace character is required in a URI, it should be escaped with the normal mechanism, e.g. TEI%20Consortium.
targets当該選択肢の識別子を示す.
DeprecatedThis feature will be withdrawn after 2013-09-20
状態 任意
データ型 2–∞ occurrences of 

<rng:ref name="data.pointer"/>
data.pointer
空白文字で区切られる
Each value specified must be the same as that specified as value for an xml:id attribute for some other element in the current document.
mode示された選択肢の選択度を示す.
状態 推薦される
データ型

<rng:ref name="data.enumerated"/>
data.enumerated
正当な値:
excl
(exclusive) 高々ひとつしか選択できない.
incl
(inclusive) 複数を選択できる.
weights属性modeの値がexclの場合,該当する選択肢 の出現度を示す. 属性modeの値がinclの場合,該当する選択肢の 少なくとも1つが出現する場合の出現度を示す.
状態 任意
データ型 2–∞ occurrences of 

<rng:ref name="data.probability"/>
data.probability
空白文字で区切られる
解説

属性modeの値がexclの場合,各選択肢の出 現度の合計は1になる必要がある.属性mode値が inclの場合,各出現度は,0から1の範囲である必要があ る.

クラブのメンバー
上位
analysis: cl m phr s span w
figures: cell figure table
linking: ab altGrp seg
nets: graph
spoken: u writing
tagdocs: eg valDesc
textcrit: app lem rdg wit witDetail
verse: metSym rhyme
下位空要素
宣言

<rng:element name="alt">
 <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.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="data.pointer"/>
    <rng:ref name="data.pointer"/>
    <rng:zeroOrMore>
     <rng:ref name="data.pointer"/>
    </rng:zeroOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="targets">
   <rng:list>
    <rng:ref name="data.pointer"/>
    <rng:ref name="data.pointer"/>
    <rng:zeroOrMore>
     <rng:ref name="data.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="data.probability"/>
    <rng:ref name="data.probability"/>
    <rng:zeroOrMore>
     <rng:ref name="data.probability"/>
    </rng:zeroOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:empty/>
</rng:element>
element alt
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.typed.attributes,
   att.pointing.attribute.targetLang,
   att.pointing.attribute.evaluate,
   attribute target { list { data.pointer, data.pointer, data.pointer* } }?,
   attribute targets { list { data.pointer, data.pointer, data.pointer* } }?,
   attribute mode { "excl" | "incl" }?,
   attribute weights
   {
      list { data.probability, data.probability, data.probability* }
   }?,
   empty
}
Schematron

<s:report test="@target and @targets">You may not supply both
@target and @targets on <s:name/>
</s:report>
Schematron

<s:report test="not(@target) and not(@targets)">You must
supply either @target or @targets on <s:name/>
</s:report>
<alt mode="excltarget="#we.fun #we.sunweights="0.5 0.5"/>