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"

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy