xdmp.getInvokedPath() as String
Returns the path of the module that is being invoked. Note that this is
different from
xdmp.getRequestPath
when the module is
invoked because an invoke or eval does not create a new request.
xdmp.getInvokedPath(); => "/example.xqy"