Chapter 12. Extending the Power of XPath with XPointer
by Andrew Watt
In this chapter
What Is XPointer?
XPointer Concepts
XPointer Function Extensions to XPath
Writing XPointers
Additional Resources
Roadmap
In this chapter, we will look at the XML Pointer language, XPointer, which allows us to address parts of an XML document or an XML external parsed entity in ways in which the XML Path Language, XPath, version 1 does not support. You can, if you like, think of XPath 1.0 as a module in XPointer.
It might be helpful to understand parts of XPointer by comparing it to familiar hyperlinks on a Web page. A simple HTML hyperlink typically takes you to the beginning of the page to which it is linked. XHTML anchors can cause a Web browser to scroll to a ...
Get Special Edition Using XML, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.