Loading TOC...

MarkLogic 12 EA 1 Product Documentation
admin.groupUsingNamespace

admin.groupUsingNamespace(
   namespace-uri as String
) as element(gr.usingNamespace)

Summary

This function constructs a using namespace element with the specified URI.

Parameters
namespace-uri The namespace URI.

Example

const admin = require('/MarkLogic/admin.xqy');
admin.groupUsingNamespace("my.namespace")

 //Returns the namespace specification 
    

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