Support for the XPath translate() function.