Add ends-with function to our XPath processor