<alt>

<alt> (代替) 要素などが選択的である場合のいち選択肢を示す. 16.8 Alternation
モジュールlinking — 16 Linking, Segmentation, and Alignment
属性 att.pointing (@type, @evaluate)
targets当該選択肢の識別子を示す.
状態 必須
データ型 2–∞ occurrences of
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示された選択肢の選択度を示す.
状態 推薦される
正当な値:
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当該選択肢の選択度がexclの場合,各選択肢の何らかの重み付けを示す.
状態 任意
データ型 1–∞ occurrences of
data.probability
空白文字で区切られる
a whitespace-separated list of probability values in the range from 0 to 1.
解説
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.
当該モジュールを使用するものaltGrp model.global.meta
下位空要素
宣言
element alt
{
   att.global.attributes,
   att.pointing.attributes,
   attribute targets { list { data.pointer, data.pointer+ } },
   attribute mode { "excl" | "incl" }?,
   attribute weights { list { data.probability+ } }?,
   empty
}
<alt mode="excltargets="#we.fun #we.sunweights="0.5 0.5"/>