
xdmp:function-module( $function as xdmp:function ) as xs:string
Returns the module location (if any) that the
xdmp:function
value refers to.
| Parameters | |
|---|---|
| function | The function value. |
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"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.