<human>:  What is the difference between a XPath and a XQuery?
<bot>: 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 the standard language for accessing XML documents, but XQuery is a standard for querying XML documents.