Description
Book SynopsisThis hands-on book fills an essential need for XML developers by dealing with a topic that has been addressed inadequately up til now. XPath is a language that helps programmers locate data in an XML document, and XPointer finds data through location and character content.
Table of ContentsPreface 1. Introducing XPath and XPointer Why XPath and XPointer? Antecedents/History XPath, XPointer, and Other XML-Related Specs XPath and XPointer Versus XQuery 2. XPath Basics The Node Tree: An Introduction XPath Expressions XPath Data Types Nodes and Node-Sets Node-Set Context String-Values 3. Location Steps and Paths XPath Expressions Location Paths Location Steps Compound Location Paths Revisited 4. XPath Functions and Numeric Operators Introduction to Functions XPath Function Types XPath Numeric Operators 5. XPath in Action XPath Visualiser: Some Background Sample XML Document General to Specific, Common to Far-Out 6. XPath 2.0 General Goals Specific Requirements 7. XPointer Background XPointer and Media types Some Definitions The Framework Error Types Encoding and Escaping Characters in XPointer 8. XPointer Syntax Shorthand Pointers Scheme-Based XPointer Syntax Using XPointers in a URI 9. XPointer Beyond XPath Why Extend XPath? Points and Ranges XPointer Extensions to Document Order XPointer Functions A. Extension Functions for XPath in XSLT Index