admin.groupModuleLocation( namespace-uri as String, location as String ) as element(gr.moduleLocation)
This function constructs a module namespace element with the specified namespace URI and location.
Parameters | |
---|---|
namespace-uri | The namespace URI. |
location | The module location. |
const admin = require('/MarkLogic/admin.xqy'); const config = admin.getConfiguration() admin.groupModuleLocation("myNamespace", "/my/location/module.xqy") //returns the moduleLocation specification
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.