W3C

GYearMonthAttribute Example

  <xs:element name="gYearMonthAttribute" type="ex:GYearMonthAttribute"/>

  <xs:complexType name="GYearMonthAttribute">
        <xs:sequence>
          <xs:element name="text" type="xs:string" minOccurs="0"/>
        </xs:sequence>
        <xs:attribute name="gYearMonth" type="xs:gYearMonth"/>
      </xs:complexType>

The example schema [GYearMonthAttribute.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
GYearMonthAttribute01
GYearMonthAttribute02
GYearMonthAttribute03
GYearMonthAttribute04
GYearMonthAttribute05
GYearMonthAttribute06
GYearMonthAttribute07

  <ex:gYearMonthAttribute gYearMonth="2006-09"/>
  <ex:gYearMonthAttribute gYearMonth="0739-09"/>
  <ex:gYearMonthAttribute gYearMonth="2038-09"/>
  <ex:gYearMonthAttribute gYearMonth="2006-09+01:00"/>
  <ex:gYearMonthAttribute gYearMonth="2006-09-01:00"/>
  <ex:gYearMonthAttribute gYearMonth="2007-05Z"/>
  <ex:gYearMonthAttribute gYearMonth="10739-09"/>

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$