Some useful XPath examples and papers include:
http://www.w3.org/TR/xpath
http://www.w3schools.com/xpath/xpath_syntax.asp
http://www.w3schools.com/xpath/xpath_examples.asp