Loading TOC...

MarkLogic Server 11.0 Product Documentation
admin.groupSchema

admin.groupSchema(
   namespace-uri as String,
   schema-location as 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

  
  const admin = require('/MarkLogic/admin.xqy');

  admin.groupSchema("http://myuri/namespace", "/some/schema.xsd")
   //the schema element 
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.