The unsignedShort data type is derived from the unsignedInt type. : unsignedShort « XML Schema « XML Tutorial

Home
XML Tutorial
1.Introduction
2.Namespace
3.XML Schema
4.XPath
5.XSLT stylesheet
XML Tutorial » XML Schema » unsignedShort 
3.43.1.The unsignedShort data type is derived from the unsignedInt type.
The value space is the set of integers greater than or equal to and less than or equal to 65535. 
The lexical space is a finite-length sequence of decimal digits.

<!-- schema -->
<xsd:element name="shortstop">
  <xsd:simpleType>
   <xsd:restriction base="xsd:unsignedShort">
    <xsd:enumeration value="15515"/>
    <xsd:enumeration value="38860"/>
   </xsd:restriction>
  </xsd:simpleType>
</xsd:element>
<!-- instance document -->
<shortstop>38860</shortstop>
3.43.unsignedShort
3.43.1.The unsignedShort data type is derived from the unsignedInt type.
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.