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 6. Querying XML Data: Introduction and XPath

This is the first of four chapters that discuss methods for querying XML data. This chapter lays the foundation for the next three chapters and discusses the following topics:

• Overview of the different options for querying XML data (section 6.1)

• The XPath and XQuery data model (section 6.2)

• The XPath language (sections 6.3 through 6.15)

XPath provides the basic means for traversing XML documents, evaluating predicates, and retrieving XML values. XPath is at the very core of querying XML data in DB2 for z/OS and DB2 for Linux, UNIX, and Windows. A good understanding of XPath and its data model is essential for querying XML data in DB2. The subsequent chapters then expand on these ...

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