W3C

PositiveIntegerAttribute Example

  <xs:element name="positiveIntegerAttribute" type="ex:PositiveIntegerAttribute"/>

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

The example schema [PositiveIntegerAttribute.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
PositiveIntegerAttribute01
PositiveIntegerAttribute02
PositiveIntegerAttribute03

  <ex:positiveIntegerAttribute positiveInteger="257"/>
  <ex:positiveIntegerAttribute positiveInteger="+42"/>
  <ex:positiveIntegerAttribute positiveInteger="153452759384758934752984759387692835739846739486754598674"/>

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$