W3C

ElementMaxOccursFinite Example

  <xs:element name="summer" type="ex:Summer"/>

  <xs:complexType name="Summer">
        <xs:sequence>
          <xs:element name="mnth" type="xs:string" maxOccurs="4"/>
        </xs:sequence>
      </xs:complexType>

The example schema [ElementMaxOccursFinite.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
ElementMaxOccursFinite01
ElementMaxOccursFinite02

  <ex:summer>
        <ex:mnth>May</ex:mnth>
        <ex:mnth>June</ex:mnth>
        <ex:mnth>July</ex:mnth>
        <ex:mnth>August</ex:mnth>
      </ex:summer>
  <ex:summer>
        <ex:mnth>August</ex:mnth>
        <ex:mnth>September</ex:mnth>
      </ex:summer>

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$