W3C

LocalElementComplexType Example

  <xs:element name="localElementComplexType" type="ex:LocalElementComplexType"/>

  <xs:complexType name="LocalElementComplexType">
        <xs:sequence>
          <xs:element name="name">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="firstName" type="xs:string"/>
                <xs:element name="lastName" type="xs:string"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>

The example schema [LocalElementComplexType.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
LocalElementComplexType01

  <ex:localElementComplexType>
        <ex:name>
          <ex:firstName>Paul</ex:firstName>
          <ex:lastName>Paul</ex:lastName>
        </ex:name>
      </ex:localElementComplexType>

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$