<alternate>

<alternate> an alternation of references
組件tagdocs — Documentation Elements
屬性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.repeatable (@allowText, @context, @minOccurs, @maxOccurs)
俱乐部会员
可包含在於
可包含
宣告

<rng:element name="alternate">
 <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.repeatable.attributes"/>
 <rng:oneOrMore>
  <rng:ref name="model.contentPart"/>
 </rng:oneOrMore>
</rng:element>
element alternate
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.repeatable.attributes,
   model.contentPart+
}
例子
<content>
 <alternate>
  <elementRef key="name"/>
  <elementRef key="persName"/>
 </alternate>
</content>

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