MarkLogic 10 Product Documentation
xdmp:function-module

xdmp:function-module(
   $function as xdmp:function
) as xs:string

Summary

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

Parameters
function The function value.

Example

xquery version "1.0-ml";
declare namespace admin="http://marklogic.com/xdmp/admin";

let $fn := xdmp:function(xs:QName("admin:get-configuration"),
             "/MarkLogic/admin.xqy")
return
xdmp:function-module($fn)

=> "/MarkLogic/admin.xqy"
Powered by MarkLogic Server | Terms of Use | Privacy Policy