It might seem odd, but the XML Query Language will have more than one syntax. One syntax will be expressed in non-XML syntax and the other, XQueryX, will be expressed in a syntax that is compliant with the requirements of XML version 1.0. The non-XML syntax, XQuery, will be more easily human readable, and will be similar to XPath syntax.
XQuery is the non-XML syntax for the XML Query Language.
One form of XQuery query uses a path expression syntax, so called because of its close similarities to XPath 1.0 syntax.
For example, if you had a document called book.xml that contained several chapter elements—each of which had a title element nested within it—you could retrieve the title of all the chapters in the book ...