W3C

ElementMinOccurs1MaxOccursUnbounded Example

  <xs:element name="ageList" type="ex:AgeList"/>

  <xs:complexType name="AgeList">
        <xs:sequence>
          <xs:element name="ageValue" type="xs:short" minOccurs="1" maxOccurs="unbounded"/>
        </xs:sequence>
      </xs:complexType>

The example schema [ElementMinOccurs1MaxOccursUnbounded.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
ElementMinOccurs1MaxOccursUnbounded101
ElementMinOccurs1MaxOccursUnbounded102

  <ex:ageList>
        <ex:ageValue>44</ex:ageValue>
      </ex:ageList>
  <ex:ageList>
        <ex:ageValue>24</ex:ageValue>
        <ex:ageValue>34</ex:ageValue>
        <ex:ageValue>44</ex:ageValue>
      </ex:ageList>

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$