XPath (XML Path Language) is a language for selecting nodes from an XML document. In addition, XPath may be used to compute values (strings, numbers, or boolean values) from the content of an XML document.
Dom4j is an easy to use, open source library for working with
XML, XPath and XSLT on the Java platform using the Java
Collections Framework and with full support for DOM, SAX and