Added method to work with relative XPath expressions