Skip to Content
XQuery: The XML Query Language
book

XQuery: The XML Query Language

by Michael Brundage
February 2004
Intermediate to advanced
544 pages
9h 55m
English
Addison-Wesley Professional
Content preview from XQuery: The XML Query Language

Chapter 3. Navigation

Introduction

Once you've constructed or loaded XML in a query, you need a way to navigate over that hierarchical data. In many ways, construction and navigation are the primary operations in any XML query language. XQuery provides a litany of navigation expressions, and this chapter explores them all. Readers who are already familiar with XPath 1.0 may safely skim this chapter. XQuery has some differences from XPath 1.0, but they are minor.

Navigation involves starting from one part of an XML data model and moving to another part of the data model. Navigation can involve local steps, for example, moving from a node to one of its neighbors, or global steps, such as moving from a node to a completely different part of the data ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

XQuery from the Experts: A Guide to the W3C XML Query Language

XQuery from the Experts: A Guide to the W3C XML Query Language

Howard Katz - Editor, Don Chamberlin, Denise Draper, Mary Fernández, Michael Kay, Jonathan Robie, Michael Rys, Jérôme Siméon, Jim Tivy, Philip Wadler
Querying XML

Querying XML

Jim Melton, Stephen Buxton
XSLT and XPATH: A Guide to XML Transformations

XSLT and XPATH: A Guide to XML Transformations

John Robert Gardner, Zarella L. Rendon

Publisher Resources

ISBN: 0321165810Purchase book