XQuery is a query language for extracting data from XML documents. It is similar in purpose to SQL (Structured Query Language). Although XQuery is related to XSLTboth use XPath extensively and can be used to accomplish some of the same thingsXQuery queries are not in XML as XSLT stylesheets are. At the time of writing, the specification for XQuery is not yet finalized, although it is getting very close. This specification is available at . You can also learn more about XQuery from the web site . A standard Java API for XQuery is being developed under JSR 225 using the name XQuery for Java (XQJ).