Loading TOC...

MarkLogic Server 11.0 Product Documentation
dom:domains

dom:domains() as element(dom:domain)*

Summary

Return all the domains.

Example

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

  for $domain in dom:domains()
  return $domain/dom:domain-name
  

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