MarkLogic 10 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
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy