Loading TOC...

MarkLogic 12 EA 2 Product Documentation
xdmp.functionModule

xdmp.functionModule(
   function as function
) as String

Summary

Returns the module location (if any) that the xdmp.function value refers to.

Parameters
function The function value.

Example

var admin = "http://marklogic.com/xdmp/admin";
var f = xdmp.function(xs.QName("admin:get-configuration"),
             "/MarkLogic/admin.xqy");
xdmp.functionModule(f);

=> "/MarkLogic/admin.xqy"

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