The int data type is derived from the long type. : int « XML Schema « XML Tutorial






The value space is integer values from 2147483648 up to and including 2147483647. 
The lexical space is a finite-length sequence of decimal digits with an optional leading - or +.

<!-- schema -->
<xsd:element name="ninedigits">
  <xsd:simpleType>
   <xsd:restriction base="xsd:int">
    <xsd:totalDigits value="9"/>
   </xsd:restriction>
  </xsd:simpleType>
</xsd:element>
<!-- instance document -->
<ninedigits>217748364</ninedigits>








3.23.int
3.23.1.The int data type is derived from the long type.
3.23.2.specifies a sequence of zero to nine digits