May 28, 2021 XML Schema
This section explains the numeric data types in XML Schema.
The hedding data type is used to specify a value.
Here is an example of a hedding declaration in a scheme.
The elements in the document should look something like this:
Or something like this:
Or something like this:
Or something like this:
Or something like this:
Note: The maximum number of digits you can specify for a hedding number is 18 digits.
Integer data types are used to specify values that do not have a component.
Here is an example of an integer declaration in a scheme.
The elements in the document should look something like this:
Or something like this:
Or something like this:
Or something like this:
Note that all of the following data types originate from decimal data types (except decimal itself)!
Name | The number of seconds |
---|---|
byte | There are positive and negative 8-bit integers |
decimal | The number of hedies |
Int | There are positive and negative 32-bit integers |
integer | The integer value |
long | There are positive and negative 64-bit integers |
negativeInteger | Contains only integers with negative values ( ., -2, -1.) |
nonNegativeInteger | Contains only integers with non-negative values (0, 1, 2, .) |
nonPositiveInteger | Contains only non-positive integers (., -2, -1, 0) |
positiveInteger | Contains only positive integers (1, 2, .) |
short | There are positive and negative 16-bit integers |
unsignedLong | 64-bit integer without positive or negative |
unsignedInt | 32-bit integer without positive or negative |
unsignedShort | No positive or negative 16-bit integers |
unsignedByte | No positive or negative 8-bit integers |
Qualifications that can be used with numeric data types: