MarkLogic 12 EA 1 Product Documentation
xdmp:get-invoked-path

xdmp:get-invoked-path() as xs:string

Summary

Returns the path of the module that is being invoked. Note that this is different from xdmp:get-request-path when the module is invoked because an invoke or eval does not create a new request.

Example

xdmp:get-invoked-path()
=> "/example.xqy"
Powered by MarkLogic Server | Terms of Use | Privacy Policy