MarkLogic 12 EA 1 Product Documentation
admin:group-module-location

admin:group-module-location(
   $namespace-uri as xs:string,
   $location as xs:string
) as element(gr:module-location)

Summary

This function constructs a module namespace element with the specified namespace URI and location.

Parameters
namespace-uri The namespace URI.
location The module location.

Example


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 :)
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy