admin:group-using-namespace( $namespace-uri as xs:string ) as element(gr:using-namespace)
This function constructs a using namespace element with the specified URI.
Parameters | |
---|---|
namespace-uri | The namespace URI. |
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 :)