The function values functions allow you to pass a function value as a parameter to another function. You can also pass in the location of the implementation of a function, allowing the caller to specify a different version of a function to use in the context of making that function.
Function name | Description |
---|---|
xdmp:annotation | Returns the named annotation from the function. |
xdmp:apply | Applies an xdmp:function with the given parameters. |
xdmp:function | Returns a function value as an xdmp:function type. |
xdmp:function-module | Returns the module location (if any) that the xdmp:function value refers to. |
xdmp:function-name | Returns the QName of the function(s) that the xdmp:function refers to. |
xdmp:function-parameter-name | Returns the name of the parameter at the designated (1-based) position from the given function's signature. |
xdmp:function-parameter-type | Returns the type of the parameter at the designated (1-based) position from the given function's signature. |
xdmp:function-return-type | Returns the return type from the given function's signature. |
xdmp:function-signature | Returns the signature of the function that the argument refers to. |
xdmp:functions | Returns all in-scope functions. |