I have a collection of XPath examples on my Wiki, stolen from an old
Microsoft document I think:
http://mobeus.homelinux.org/eclectica/show/XmlPath

I haven't used it yet because I started playing with REXML yesterday,
but it's pretty detailed.

Les