- http://oreilly.com/catalog/9780596002916/
- http://examples.oreilly.com/9780596002916/xpathxpointer.txt
- https://library.oreilly.com/book/9780596002916/xpath-and-xpointer/toc (for owners only)
- https://learning.oreilly.com/library/view/xpath-and-xpointer/0596002912/
- http://commons.oreilly.com – the O’Reilly Commons wiki
- http://commons.oreilly.com/wiki/index.php/XPath_and_XPointer – the book is also available online and for free
Lots of nice XPath examples … – now: practice, practice, practice!Update 2011-03-09:
This book is also available online and for free here, on the O’Reilly Commons wiki.
I really like exercising the examples (for the URL see above!) using xmlstartlet. Instead of writing a script in Perl or Python or even some code in Java, nowadays (and for quite a while) you can process XML in a shell script using xmlstartlet, and this books shows you the way.