admin:group-module-location( $namespace-uri as xs:string, $location as xs:string ) as element(gr:module-location)
This function constructs a module namespace element with the specified namespace URI and location.
Parameters | |
---|---|
namespace-uri | The namespace URI. |
location | The module location. |
xquery version "1.0-ml"; import module namespace admin = "http://marklogic.com/xdmp/admin" at "/MarkLogic/admin.xqy"; let $config := admin:get-configuration() return admin:group-module-location("my-namespace", "/my/location/module.xqy") (: returns the module-location specification :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.