<alt>
| <alt> 要素などが選択的である場合のいち選択肢を示す. 16.8 Alternation | |||||||||||||||||||||||||
| モジュール | linking — 16 Linking, Segmentation, and Alignment | ||||||||||||||||||||||||
| グローバル属性の他 | att.pointing (@target, @evaluate) att.typed (@type, @subtype) 
 | ||||||||||||||||||||||||
| 当該モジュールを使用するもの | |||||||||||||||||||||||||
| 下位 | 空要素 | ||||||||||||||||||||||||
| 宣言 | 
 element alt { att.global.attributes, att.pointing.attributes, att.typed.attributes, 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</s:report> | ||||||||||||||||||||||||
| Schematron | <s:report test="not(@target) and not(@targets)">You must supply either @target or @targets</s:report> | ||||||||||||||||||||||||
| Schematron | <s:assert test="contains(@target,' ')">You must supply at least two values for @target</s:assert> | ||||||||||||||||||||||||
| 例 | <alt mode="excl" targets="#we.fun #we.sun" weights="0.5 0.5"/>
                        
                      | ||||||||||||||||||||||||
