XML Tutorial/XML Schema/unsignedInt — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 08:26, 26 мая 2010
The unsignedInt data type is derived from the unsignedLong type.
The value space is the set of integers greater than or equal to 0 and less than or equal to 4294967295.
The lexical space is a finite-length sequence of decimal digits.
<!-- schema -->
<xsd:simpleType name="grains_of_sand">
<xsd:restriction base="xsd:unsignedInt">
<xsd:maxInclusive value="4000000000"/>
</xsd:restriction>
</xsd:simpleType>
<!-- instance document -->
<grains_of_sand>4000000000</grains_of_sand >