Loading TOC...

alert:rule-get-options

alert:rule-get-options(
   $rule as element(alert:rule)
) as element(alert:options)

Summary

This function returns the options of a given rule.

Parameters
$rule The representation of a rule.

Example

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

  alert:rule-get-options($rule)
  => <alert:options>
       <alert:email-address>me@somedomain.com</alert:email-address>
     </alert:options>
     

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