Schema Central > XML Schema 1.0 > xsd:integer
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

xsd:integer

The type xsd:integer represents an arbitrarily large integer, from which twelve other built-in integer types are derived (directly or indirectly). An xsd:integer is a sequence of digits, optionally preceded by a + or - sign. Leading zeros are permitted, but decimal points are not.

Simple Type Information

Namespace: http://www.w3.org/2001/XMLSchema

Schema Document: datatypes.xsd

Content

Examples

Valid valuesComment
122
00122leading zeros are permitted
0
-3
+3
Invalid valuesComment
3.an integer must not contain a decimal point
3.0an integer must not contain a decimal point
an empty value is not valid, unless xsi:nil is used

Type Inheritance Chain

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to pwalmsley@datypic.com