GPath is a path expression language we've integrated into Groovy which is similar in aims and scope as XPath is to XML.
See some examples.