XPath is a language used to search XML documents. It can be used to compute strings, numbers, or Boolean values from the content of an XML document.