<alt>
| <alt> (替換) 標明一個替換,或是元素或段落之間的一組不同選擇。 16.8 Alternation | |||||||||||||||||||||||
| 組件 | linking — 16 Linking, Segmentation, and Alignment | ||||||||||||||||||||||
| 除全域屬性以外 | att.pointing (@type, @evaluate)
|
||||||||||||||||||||||
| 屬於 | |||||||||||||||||||||||
| 可包含 | 空白元素 | ||||||||||||||||||||||
| 宣告 |
element alt { att.global.attributes, att.pointing.attributes, attribute targets { list { data.pointer, data.pointer+ } }, attribute mode { "excl" | "incl" }?, attribute weights { list { data.probability, data.probability+ } }?, empty } |
||||||||||||||||||||||
| 例子 |
<alt mode="excl" targets="#we.fun #we.sun" weights="0.5 0.5"/>
|
||||||||||||||||||||||
