XQuery is a query-based language to retrieve data stored in the form of XML. XQuery is to XML what SQL is to a database.
This tutorial covers all the basic components of XQuery with suitable examples.