Data Types

Each node of the XML schema is of a specified type. For details on XML data types, visit the following URL: http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/.

In API Reference, a node can be of a simple or a complex type. If the type of the node is complex and has a name, the name of the type is followed by a file name. The file name specifies the file where the type is located. If the type is not named, it is called complex in the reference. If the type is simple, it can be a standard type or its modification. A list of standard simple types is presented in the following table.

Type Definition Examples

string

Sequence of 1..255 characters

mytext, a, ppp

short

Integer numbers from -2^15 to 2^15-1 *

-167, 2880, 310

integer

Integer numbers from -2^31 to 2^31-1

-16007, 211880, 310010

unsignedInt

Integer numbers from 0 to 2^32-1

1670031, 3321455232

unsignedLong

Integer numbers from 0 to 2^64-1

44322344432

long

Integer numbers from -2^63 to 2^63-1

184467440737095516

base64

Base64-encoded arbitrary binary data

GTrRddxXRGgh==

boolean

Binary-valued logic legal literals

true, false, 1, 0

byte

Integer numbers from -128 to 127

1, 0, 126, 100

date

Calendar date. Format YYYY-MM-DD

May the 31st, 1999 is: 1999-05-31

dateTime

Specific instant of time. ISO 8601 extended format YYYY-MM-DDThh:mm:ss

1:20 pm on May the 31st, 1999 for Eastern Standard Time which is 5 hours behind Coordinated Universal Time (UTC) looks as follows:

1999-05-31T13:20:00-05:00

none

Nodes of this type do not contain any data (so-called blank nodes)

 

anySimple

Any simple type except none

123, mytext, example123string

* - the number y^n is the number y raised to the n-th power.