# XQuery Data Types

The following are the XML Schema data types used in the XQuery language:

- xs:anyURI
- xs:boolean
- xs:byte
- xs:date
- xs:dateTime
- xs:decimal
- xf:dayTimeDuration
- xs:double
- xs:duration
- xs:float
- xs:gDay
- xs:gMonthDay
- xs:gYear
- xs:gYearMonth
- xs:int
- xs:long
- xs:Name
- xs:QName
- xs:short
- xs:string
- xs:time
- xf:yearMonthDuration

Note: For performance reasons, the integer supported by this XQuery engine is equivalent to a Java long, which is smaller then the W3C XML Schema integer, which has an arbitrary length. To learn more, see the integer description.

## item

The item data type is an atomic value or a node. The item data type is an XQuery specific data type.

Related Topics

XQuery item description.

XQuery SequenceType description.

## integer

A sequence of decimal digits (0-9) within the range of 9,223,372,036,854,775,807 to -9,223,372,036,854,775,808. For performance reasons, the integer supported by this XQuery engine is equivalent to a Java long, which is smaller then the W3C XML Schema integer, which has an arbitrary length.

## node

The node data type is either an element, an attribute, a document, a text-node, a processing instruction, or a comment. The node data type is an XQuery specific data type.

Related Topics

XQuery Node description.

XQuery SequenceType description.