Loading TOC...

MarkLogic 12 EA 2 Product Documentation
admin:group-using-namespace

admin:group-using-namespace(
   $namespace-uri as xs:string
) as element(gr:using-namespace)

Summary

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

Parameters
namespace-uri The namespace URI.

Example



xquery version "1.0-ml";

import module namespace admin = "http://marklogic.com/xdmp/admin"
   at "/MarkLogic/admin.xqy";

admin:group-using-namespace("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.