W3C

SequenceMaxOccursFinite Example

  <xs:element name="winter" type="ex:Winter"/>

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

The example schema [SequenceMaxOccursFinite.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
SequenceMaxOccursFinite01
SequenceMaxOccursFinite02

  <ex:winter>
        <ex:mnth>November</ex:mnth>
        <ex:weather>Rain</ex:weather>
        <ex:mnth>December</ex:mnth>
        <ex:weather>Snow</ex:weather>
        <ex:mnth>January</ex:mnth>
        <ex:weather>Snow</ex:weather>
        <ex:mnth>February</ex:mnth>
        <ex:weather>Rain</ex:weather>
      </ex:winter>
  <ex:winter>
        <ex:mnth>December</ex:mnth>
        <ex:weather>Snow</ex:weather>
      </ex:winter>

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$