XQuery Reference Manual
XQuery 1.0 and XPath 2.0 share the same data model and support the same functions and operators.
XQuery Functions
XQuery is built on XPath expressions. XQuery 1.0 and XPath 2.0 share the same data model and support the same functions and operators.
XQuery Data Types
XQuery share with XML Schema 1.0 (XSD) the same data type.