<sequence>

<sequence> sequence of references
Moduletagdocs — Documentation Elements
Attributsatt.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)
preserveOrderif true, indicates that the order in which component elements of a sequence appear in a document must correspond to the order in which they are given in the content model.
Statut Optionel
Type de données

<rng:ref name="data.truthValue"/>
data.truthValue
Membre du
Contenu dans
Peut contenir
Declaration

<rng:element name="sequence">
 <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:optional>
  <rng:attribute name="preserveOrder">
   <rng:ref name="data.truthValue"/>
  </rng:attribute>
 </rng:optional>
 <rng:oneOrMore>
  <rng:ref name="model.contentPart"/>
 </rng:oneOrMore>
</rng:element>
element sequence
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.repeatable.attributes,
   attribute preserveOrder { data.truthValue }?,
   model.contentPart+
}
Exemple
<content>
 <sequence>
  <alternate>
   <elementRef key="name"/>
   <elementRef key="persName"/>
  </alternate>
  <elementRef key="placeNameminoccurs="0"
   maxOccurs="5"/>

 </sequence>
</content>

This example content model matches a sequence consisting of either a name or a persName followed by nothing, or by a sequence of up to five placeName elements.