Update XPath functions to Saxon 9.5 API