XQuery Tutorial

XQuery XML's role is similar to the role of the database in SQL.

XQuery is designed to query XML data.

Now start learning XQuery!

XQuery examples

for $x in doc("books.xml")/bookstore/book
where $x/price>30
order by $x/title
return $x/title


XQuery Reference Manual

In W3CSchool, we provide all the operators in XQuery 1.0, built-in functions, data types complete reference manual.

XQuery Reference Manual