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