Added XPath functions