Welcome to DataDirect XQuery Tutorials! We've created this page so you can learn valuable XQuery skills and pick up important XQuery tips. But don't forget to come back and re-visit this site, because we're always adding new tutorials to help you out.
![]()
Why XQuery?
This article provides information on XQuery's background, its benefits, and its pivotal role in data integration. Next, it provides an overview of XQuery's syntax and shows examples of what an XQuery query looks like. Finally, it describes how to implement XQuery and mentions some caveats to be aware of in XQuery 1.0.
XQJ Tutorial
This tutorial shows how XQJ is used to issue XQueries and obtain results, perform joins between XML and relational sources, obtain results using SAX, StAX, or DOM, and execute prepared XQueries (similar to JDBC's prepared statements). In addition, four complete XQJ programs are included.
XQuery Tutorial
This tutorial is designed to get you started with DataDirect XQuery. It shows how to configure connections and execute queries through XQJ, it shows how DataDirect XQuery can be used to query data from XML sources and how to join data from XML and relational sources, and it shows how DataDirect XQuery uses XQJ to query XML, issue prepared XQuery queries, and fetch results using StAX.
XQuery: A GUIDED TOUR
This tutorial gives a high-level introduction to the XQuery language by presenting a series of examples, each of which illustrates an important feature of the language and shows how it is used in practice. Some of the examples are drawn from [XQ-UC]. We cover most of the language features of XQuery, but also focus on teaching the idioms used to solve specific kinds of problems with XQuery.
For more DataDirect XQuery Tutorials, please visit http://www.xquery.com/tutorials/