human
What is the difference between a XPath and a XQuery?
assistant
XQuery is an extension to XPath that allows you to use functions and variables. XPath is a language for selecting nodes in XML documents. XPath is a W3C recommendation, and XQuery is a W3C recommendation. XQuery is a superset of XPath, and therefore can be used to query any XML document.