XML Tutorial/XML Schema/unsignedShort

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

The unsignedShort data type is derived from the unsignedInt type.

The value space is the set of integers greater than or equal to 0 and less than or equal to 65535. 
The lexical space is a finite-length sequence of decimal digits.
<!-- schema -->
<xsd:element name="shortstop">
   <xsd:restriction base="xsd:unsignedShort">
    <xsd:enumeration value="15515"/>
    <xsd:enumeration value="38860"/>
<!-- instance document -->