MarkLogic 10 Product Documentation
admin:group-schema

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

Summary

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

Parameters
namespace-uri The namespace URI for the schema.
schema-location The schema location.

Example


  xquery version "1.0-ml";

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

  admin:group-schema("http://myuri/namespace", "/some/schema.xsd")
  (: the schema element :)
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy