W3C

SequenceMaxOccursUnbounded Example

  <xs:element name="bookPublications" type="ex:BookPublications"/>

  <xs:complexType name="BookPublications">
        <xs:sequence maxOccurs="unbounded">
          <xs:element name="pubDate" type="xs:string"/>
          <xs:element name="pubISBN" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>

The example schema [SequenceMaxOccursUnbounded.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
SequenceMaxOccursUnbounded01
SequenceMaxOccursUnbounded02

  <ex:bookPublications>
        <ex:pubDate>2002-09-24</ex:pubDate>
        <ex:pubISBN>1-55960-907-6</ex:pubISBN>
        <ex:pubDate>2003-04-14</ex:pubDate>
        <ex:pubISBN>1-25466-908-6</ex:pubISBN>
        <ex:pubDate>2004-03-31</ex:pubDate>
        <ex:pubISBN>1-35460-909-6</ex:pubISBN>
        <ex:pubDate>2005-06-04</ex:pubDate>
        <ex:pubISBN>1-54560-910-6</ex:pubISBN>
        <ex:pubDate>2006-07-03</ex:pubDate>
        <ex:pubISBN>1-74869-911-6</ex:pubISBN>
      </ex:bookPublications>
  <ex:bookPublications>
        <ex:pubDate>2006-01-26</ex:pubDate>
        <ex:pubISBN>1-44795-912-6</ex:pubISBN>
      </ex:bookPublications>

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$