From http://www.w3schools.com (Copyright Refsnes Data)
XQuery 1.0 and XPath 2.0 share the same data model and support the same functions and operators.
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 shares the same data types as XML Schema 1.0 (XSD).
From http://www.w3schools.com (Copyright Refsnes Data)