W3C

ElementGroup Example

  <xs:element name="elementGroup" type="ex:ElementGroup"/>

  <xs:complexType name="ElementGroup">
        <xs:sequence>
          <xs:group ref="ex:ElementGroupGroup"/>
        </xs:sequence>
      </xs:complexType>

  <xs:group name="ElementGroupGroup">
        <xs:sequence>
          <xs:element name="value1" type="xs:string"/>
          <xs:element name="value2" type="xs:string"/>
        </xs:sequence>
      </xs:group>

The example schema [ElementGroup.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
ElementGroup01

  <ex:elementGroup>
        <ex:value1>foo</ex:value1>
        <ex:value2>bar</ex:value2>
      </ex:elementGroup>

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$