<alt>

<alt> (교체) 요소나 단락 사이의 교체 또는 선택 집합을 식별한다. [16.8 Alternation]
모듈linking — 16 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.pointing (@targetLang, @target, @evaluate) att.typed (@type, @subtype)
targets교체 요소 또는 단락의 확인소를 명시한다.
상태 수의적
자료 유형 2–∞ 출현 

<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
(배타적) 교체가 배타적임을 나타낸다. 즉, 기껏해야 교체 집합 중 하나가 나타난다.
incl
(총괄적) 교체가 배타적이 아님을 나타낸다. 즉, 교체집합 중 하나 이상이 나타난다.
weightsmodeexcl이라면, 각 가중치는 대응하는 교체가능성이 발생할 확률을 말한다. modeincl이라면, 각 가중치는 적어도 다른 교체가능집합 중 하나가 발생한 상태에서 대응하는 교체가능성이 발생할 확률이다.
상태 수의적
자료 유형 2–∞ 출현 

<rng:ref name="data.probability"/>
data.probability
공백문자로 분리됨
a whitespace-separated list of probability values in the range from 0 to 1.
에 의해 사용된
에 의해 포함된
analysis: cl m phr s span w
figures: cell figure table
linking: ab altGrp seg
nets: graph
spoken: u writing
tagdocs: 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.pointing.attributes"/>
 <rng:ref name="att.typed.attributes"/>
 <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.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" target="#we.fun #we.sun" weights="0.5 0.5"/>