NOTE:
These slides have not been updated since 2003. They have been superseded by the book
Anders Møller and Michael Schwartzbach, February 2006 |
THE XML REVOLUTION - TECHNOLOGIES FOR THE FUTURE WEB |
here() | get location of element containing current XPointer | |
origin() | get location where user initiated link traversal | |
start-point(location-set) | get start point of location set | |
string-range(...) | find matching substrings | |
... |
Example:
/descendant::text()/point()[position()=0] |
selects the locations right before the first character of all character data nodes in the document.
Example:
/section[1] / range-to(/section[3]) |
selects everything from the beginning of the first section to the end of the third.
COPYRIGHT © 2000-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH |