XQuery is a language for finding and extracting elements and attributes from XML documents. It is to XML what SQL is to database tables and is designed to query XML data.
XQuery is the language for querying XML data
XQuery for XML is like SQL for databases
XQuery is built on XPath expressions
XQuery is supported by all major databases
XQuery is a W3C Recommendation since 2007.