W3C

ExtendedSequenceStrict Example

  <xs:element name="extendedSequenceStrict" type="ex:ExtendedSequenceStrict"/>

  <xs:complexType name="ExtendedSequenceStrict">
        <xs:sequence>
          <xs:element name="firstName" type="xs:string"/>
          <xs:element name="lastName" type="xs:string"/>
          <xs:element name="extension" type="ex:StrictExtension" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

  <xs:element name="title" type="xs:string"/>

  <xs:element name="middleName" type="xs:string"/>

  <xs:complexType name="StrictExtension">
        <xs:sequence>
          <xs:any processContents="strict" minOccurs="0" maxOccurs="unbounded" namespace="##targetNamespace"/>
        </xs:sequence>
      </xs:complexType>

The example schema [ExtendedSequenceStrict.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
ExtendedSequenceStrict01
ExtendedSequenceStrict02

  <ex:extendedSequenceStrict>
        <ex:firstName>Bobby</ex:firstName>
        <ex:lastName>Sox</ex:lastName>
      </ex:extendedSequenceStrict>
  <ex:extendedSequenceStrict>
        <ex:firstName>Bobby</ex:firstName>
        <ex:lastName>Sox</ex:lastName>
        <ex:extension>
          <ex:middleName>William</ex:middleName>
          <ex:title>Mr</ex:title>
        </ex:extension>
      </ex:extendedSequenceStrict>

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$