Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

XQuery Tutorial

XQuery Tutorial

XQuery's role for XML is similar to SQL's role for databases.

XQuery is designed to query XML data.

Start learning XQuery now!

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 the Runoob Tutorial, we provide a complete reference manual for all operators, built-in functions, and data types in XQuery 1.0.

XQuery Reference Manual