Found this page that is a nice resource for XPath development.

XPath Cheatsheet:
https://devhints.io/xpath

XPath on PHP.net:
http://php.net/manual/en/class.domxpath.php

XPath on W3 Schools:
https://www.w3schools.com/php/func_simplexml_xpath.asp