W3C

SequenceMinOccurs1MaxOccursUnbounded Example

  <xs:element name="ageListSequence" type="ex:AgeListSequence"/>

  <xs:complexType name="AgeListSequence">
        <xs:sequence minOccurs="1" maxOccurs="unbounded">
          <xs:element name="ageVal" type="xs:string"/>
          <xs:element name="agePercentage" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>

The example schema [SequenceMinOccurs1MaxOccursUnbounded.xsd] has been classified as being "" as it exhibits the following patterns:

Status Name XPath

To facilitate testing, the example schema element has been wrapped in the following descriptions:

The following valid instance documents are provided:

Instance Validity
SequenceMinOccurs1MaxOccursUnbounded101
SequenceMinOccurs1MaxOccursUnbounded102

  <ex:ageListSequence>
        <ex:ageVal>44</ex:ageVal>
        <ex:agePercentage>33</ex:agePercentage>
        <ex:ageVal>24</ex:ageVal>
        <ex:agePercentage>45</ex:agePercentage>
        <ex:ageVal>64</ex:ageVal>
        <ex:agePercentage>22</ex:agePercentage>
      </ex:ageListSequence>
  <ex:ageListSequence>
        <ex:ageVal>44</ex:ageVal>
        <ex:agePercentage>33</ex:agePercentage>
      </ex:ageListSequence>

This document was produced by the W3C XML Schema Patterns for Databinding Working Group. Comments on this document may be sent to the public public-xsd-databinding-comments@w3.org mailing list (public archive).

Generated from examples.xml $Date$