XML Tutorial/XML Schema/long

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

The long data type is derived from the integer type.

The value space is integer values from ?23372036854775808 up to and including 9223372036854775807. 
The lexical space is a finite-length sequence of decimal digits with an optional leading - or +.
<!-- schema -->
<xsd:element name="bignumbers">
  <xsd:restriction base="xsd:long">
   <xsd:enumeration value="2177483647"/>
   <xsd:enumeration value="-2177483647"/>
<!-- instance document -->