MarkLogic 10 Product Documentation
alert:rule-get-name

alert:rule-get-name(
   $rule as element(alert:rule)
) as xs:string

Summary

This function returns the name 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-name($rule)
  => "nucleic acids email"
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy