Loading TOC...

MarkLogic 9 Product Documentation
dom:set-description

dom:set-description(
   $domain-name as xs:string,
   $description as xs:string
) as empty-sequence()

Summary

Set the description of the domain. An error is raised if the domain cannot be found.

Parameters
domain-name The name of the domain to be changed.
description The new description of the domain.

Example

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

  dom:set-description( "Incoming", 
		       "Incoming document processing area" )
  

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