XML Tutorial/XML Schema/byte

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

The byte data type is derived from the short type.

The value space is integer values from ?8 up to and including 127. 
The lexical space is a finite-length sequence of decimal digits with an optional leading - or +.
<!-- schema -->
<xsd:complexType name="myBytes">
   <xsd:element name="byte1" type="xsd:byte"/>
   <xsd:element name="byte2" type="xsd:byte"/>
   <xsd:element name="byte3" type="xsd:byte"/>
<!-- instance document -->