XML/XML Schema/totalDigits
xs:totalDigits defines the maximum number of decimal digits:
<source lang="xml">
<?xml version="1.0"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.wbex.ru" xmlns="http://www.wbex.ru" elementFormDefault="qualified">
<xsd:simpleType name="totalDigits"> <xsd:restriction base="xsd:integer"> <xsd:totalDigits value="5" /> </xsd:restriction> </xsd:simpleType>
</xsd:schema>
</source>