specifies a sequence of zero to nine digits : int « XML Schema « XML Tutorial






<!-- schema -->
<xsd:element name="ninedigits">
  <xsd:simpleType>
   <xsd:restriction base="xsd:int">
    <xsd:pattern value="\d{0,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