W3C

ChoiceMinOccurs0 Example

  <xs:element name="choiceMinOccurs0" type="ex:ChoiceMinOccurs0"/>

  <xs:complexType name="ChoiceMinOccurs0">
        <xs:choice minOccurs="0">
          <xs:element name="AChoiceMinOccurs0" type="xs:string"/>
          <xs:element name="BChoiceMinOccurs0" type="xs:string"/>
        </xs:choice>
      </xs:complexType>

The example schema [ChoiceMinOccurs0.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
ChoiceMinOccurs001
ChoiceMinOccurs002
ChoiceMinOccurs003

  <ex:choiceMinOccurs0>
        <ex:AChoiceMinOccurs0>A</ex:AChoiceMinOccurs0>
      </ex:choiceMinOccurs0>
  <ex:choiceMinOccurs0>
        <ex:BChoiceMinOccurs0>B</ex:BChoiceMinOccurs0>
      </ex:choiceMinOccurs0>
  <ex:choiceMinOccurs0/>

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$