<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 |
<sch:report test="@target and @targets">You may not supply both @target and @targets</sch:report> |
||||||||||||||||||||||
Schematron |
<sch:report test="not(@target) and not(@targets)">You must supply either @target or @targets</sch:report> |
||||||||||||||||||||||
Schematron |
<sch:assert test="contains(@target,' ')">You must supply at least two values for @target</sch:assert> |
||||||||||||||||||||||
예 |
<alt mode="excl" targets="#we.fun #we.sun" weights="0.5 0.5"/>
|