<alternate>

<alternate> an alternation of references
モジュールtagdocs — Documentation Elements
属性att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) att.repeatable (@context, @minOccurs, @maxOccurs)
クラブのメンバー
上位
下位
宣言

<rng:element name="alternate">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.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.global.responsibility.attributes"/>
 <rng:ref name="att.repeatable.attributes"/>
 <rng:oneOrMore>
  <rng:ref name="model.contentPart"/>
 </rng:oneOrMore>
</rng:element>
element alternate
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.repeatable.attributes,
   model.contentPart+
}
Schematron

<sch:assert test="count(*)>1">The alternate element must have at least two child elements</sch:assert>
<content>
 <alternate>
  <elementRef key="name"/>
  <elementRef key="persName"/>
 </alternate>
</content>

This example content model permits either a name or a persName.