xs:totalDigits defines the maximum number of decimal digits: : totalDigits « XML Schema « XML






xs:totalDigits defines the maximum number of decimal digits:

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  targetNamespace="http://www.java2s.com" xmlns="http://www.java2s.com"
  elementFormDefault="qualified">



  <xsd:simpleType name="totalDigits">
    <xsd:restriction base="xsd:integer">
      <xsd:totalDigits value="5" />
    </xsd:restriction>
  </xsd:simpleType>

</xsd:schema>

 








Related examples in the same category