XQuery 1.0 and XPath 2.0 were developed collaboratively and share the XQuery 1.0/XPath 2.0 data model (XDM). They support the same function library and operators, making them compatible and allowing XPath expressions to be used within XQuery queries.