Loading TOC...

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.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.