add contextified XPath functions