W3C

SequenceMinOccursFinite Example

  <xs:element name="articleColors" type="ex:ArticleColors"/>

  <xs:complexType name="ArticleColors">
        <xs:sequence minOccurs="2" maxOccurs="unbounded">
          <xs:element name="articleColor" type="xs:string"/>
          <xs:element name="articleContrast" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>

The example schema [SequenceMinOccursFinite.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
SequenceMinOccursFinite01
SequenceMinOccursFinite02

  <ex:articleColors>
        <ex:articleColor>Red</ex:articleColor>
        <ex:articleContrast>Bright</ex:articleContrast>
        <ex:articleColor>Black</ex:articleColor>
        <ex:articleContrast>Bright</ex:articleContrast>
        <ex:articleColor>White</ex:articleColor>
        <ex:articleContrast>Low</ex:articleContrast>
        <ex:articleColor>Yellow</ex:articleColor>
        <ex:articleContrast>Normal</ex:articleContrast>
      </ex:articleColors>
  <ex:articleColors>
        <ex:articleColor>Black</ex:articleColor>
        <ex:articleContrast>Normal</ex:articleContrast>
        <ex:articleColor>White</ex:articleColor>
        <ex:articleContrast>Bright</ex:articleContrast>
      </ex:articleColors>

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$