Loading TOC...

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 
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.