Chapter 11
XPointer: XLinking to XML Fragments
XPointer will look quite familiar to you. It's just an alteration of XPath in order for it to work within XLink elements. Use of XPointer will allow you to point to a specific place within an XML document.
One of the main concepts of XPointer is, not surprisingly, points. Points are zero-width positions within the text of an XML document. XPointer also relies on IDs heavily to do its work.
XPointer contains a few more additions to XPath's alrady long list of functions. The XPointer-specific methods are:
- start-point
- end-point
- string-range
- range
- range-inside
- range-to
- origin
- here