XPath: run queries in PHP
Another post on Mind Tree about running XPath queries in PHP. Author describes what is XPath and where is used. In article you also find good examples of code.
XPath is a language that allows you to address parts of an XML document, making XSLT transformations practically necessary. It also makes it an invaluable tool for managing XML data in applications such as Web applications.