Support for the XPath sum() function.