MarkLogic 10 Product Documentation
xdmp:function-name

xdmp:function-name(
   $function as xdmp:function
) as xs:QName?

Summary

Returns the QName of the function(s) that the xdmp:function refers to.

Parameters
function The xdmp:function value.

Example

let $fn := xdmp:function(xs:QName("fn:empty"))
return
  xdmp:function-name($fn)
=> "fn:empty"
Powered by MarkLogic Server | Terms of Use | Privacy Policy