Loading TOC...

MarkLogic 12 EA 1 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"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.