XML Tutorial/XML Schema/unsignedLong

Материал из Web эксперт
Перейти к: навигация, поиск

The unsignedLong data type is derived from the nonNegativeInteger type.

The value space is the set of integers greater than or equal to 0 and less than or equal to 18446744073709551615. 
The lexical space is a finite-length sequence of decimal digits.
<!-- schema -->
<xsd:simpleType name="distance_sun">
  <xsd:restriction base="xsd:unsignedLong">
   <xsd:pattern value="\d{8}"/>
<!-- instance document -->