XML Tutorial/XML Schema/byte — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:26, 26 мая 2010
The byte data type is derived from the short type.
<source lang="xml">
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 +.
<xsd:complexType name="myBytes">
<xsd:choice> <xsd:element name="byte1" type="xsd:byte"/> <xsd:element name="byte2" type="xsd:byte"/> <xsd:element name="byte3" type="xsd:byte"/> </xsd:choice>
</xsd:complexType>
<byte2>55</byte2></source>