Loading TOC...

MarkLogic Server 11.0 Product Documentation
dom:get

dom:get(
   $domain-name as xs:string
) as element(dom:domain)

Summary

Find a particular domain.

Parameters
domain-name The name of the domain to get. An error is raised if no such domain exists.

Example

  xquery version "1.0-ml";
  import module namespace dom = "http://marklogic.com/cpf/domains" 
		  at "/MarkLogic/cpf/domains.xqy";

  dom:get( "Incoming" )
  

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