MarkLogic 12 EA 1 Product Documentation
admin.groupModuleLocation

admin.groupModuleLocation(
   namespace-uri as String,
   location as String
) as element(gr.moduleLocation)

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

const admin = require('/MarkLogic/admin.xqy');
const config = admin.getConfiguration()
 admin.groupModuleLocation("myNamespace", "/my/location/module.xqy")

   //returns the moduleLocation specification 
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy