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 11. Surprises

Introduction

I once e-mailed an “XPath Quiz” containing six multiple-choice questions about XPath 1.0 to the XML development team at Microsoft. Of those who replied, not one person answered all six questions correctly (although a few got five right). Evidently, XPath is a subtle language filled with hidden complexities, even for the experts who have implemented it! Or as I sometimes exaggerate, “XPath is all special cases.”

As an even larger and more complex language containing most of XPath 2.0 as a subset, XQuery multiplies the surprises. Understanding some of these hidden complexities will illuminate the inner workings of these languages and assist you in mastering their nuances (not to mention any pop quizzes).

This chapter ...

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