Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

XQuery tutorial

May 28, 2021 XQuery

Table of contents

XQuery tutorial

XQuery, or XML Query, is used to extract information from a class XML (a subset of the standard common tag language) document.

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

XQuery is designed to query XML data.

Start learning XQuery now!

XQuery instance

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

XQuery reference manual