Evaluates an XPath expression on an XML file and returns its value. Example: def v = xmlQuery file: 'pom.xml', xpath: '/project/version'