MarkLogic 12 EA 1 Product Documentation
admin:group-namespace

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

Summary

This function constructs a namespace element with the specified prefix and URI.

Parameters
prefix The namespace prefix.
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-namespace("myprefix", "http://myuri/namespace")
  (: the namespace element :)

  
Powered by MarkLogic Server | Terms of Use | Privacy Policy