W3C

ExtendedSequenceSkip Example

  <xs:element name="extendedSequenceSkip" type="ex:ExtendedSequenceSkip"/>

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

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

The example schema [ExtendedSequenceSkip.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
ExtendedSequenceSkip01
ExtendedSequenceSkip02

  <ex:extendedSequenceSkip>
        <ex:firstName>Bobby</ex:firstName>
        <ex:lastName>Sox</ex:lastName>
      </ex:extendedSequenceSkip>
  <ex:extendedSequenceSkip>
        <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:extendedSequenceSkip>

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$