O'Reilly logo

DB2 by Pav Kumar-Chatterjee, Matthias Nicola

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Querying XML Data with XQuery

This chapter takes the discussion of XML queries to the next level and builds upon the previous two chapters. Chapter 6, Querying XML Data: Introduction and XPath, introduced the XPath and XQuery data model and described the XPath language. Chapter 7, Querying XML Data with SQL/XML, demonstrated how SQL/XML allows you to embed XPath expressions in SQL queries. Now we turn to XQuery, which is a query language for XML data and a superset of XPath. Everything you have learned about XPath already counts towards your understanding of XQuery. XQuery and XPath use a common data model, which was introduced in section 6.2, Understanding the XQuery and XPath Data Model. Understanding this data model is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required