February 2004
Intermediate to advanced
544 pages
9h 55m
English
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 ...