Figure 11-1. The points inside the novel element
Inside the text node child of the year element,
there are five points:
Notice that the points occur between the characters of the text
rather than on the characters themselves. Points are
zero-dimensional. They identify a location, but they have no
extension, not even a single character. To indicate one or more
characters, you need to specify a range between two points.
xpointer(start-point(//title))
This XPointer indicates the point immediately before the
</author> tag:
xpointer(end-point(//author))
If there were multiple title and
author elements in the document, then these
functions would select multiple points.
This XPointer points to the point immediately before the letter T in
"The Wonderful Wizard of Oz":
xpointer(start-point(//title/text( )))