The conventions of the XPath language demand that the results of a function depend only on the values of the expressions supplied as arguments, and not on the form of those expressions. For example, the result of f(4) is expected to be the same as f(2+2). The actual expression is supplied here to enable the binding mechanism to select the most efficient possible implementation (including compile-time pre-evaluation where appropriate). @param env The static context of the function call @return An object representing the function to be called, if one is found;null if no function was found matching the required name and arity. @throws net.sf.saxon.trans.XPathException if a function is found with the required name and arity, butthe implementation of the function cannot be loaded or used; or if an error occurs while searching for the function.
|
|