W3C

IntegerAttribute Example

  <xs:element name="integerAttribute" type="ex:IntegerAttribute"/>

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

The example schema [IntegerAttribute.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
IntegerAttribute01
IntegerAttribute02
IntegerAttribute03
IntegerAttribute04
IntegerAttribute05
IntegerAttribute06

  <ex:integerAttribute integer="10002"/>
  <ex:integerAttribute integer="-0"/>
  <ex:integerAttribute integer="+42"/>
  <ex:integerAttribute integer="-42"/>
  <ex:integerAttribute integer="-45345384593849583945843453454293405930495309450394503"/>
  <ex:integerAttribute integer="123456789013234235435325235325325345432543253425324534253245"/>

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$