alert:config-set-name( $config as element(alert:config), $name as xs:string ) as element(alert:config)
This function sets the name in the specified alerting configuration.
Parameters | |
---|---|
$config | The specified alerting configuration. |
name | The name of the specified configuration. |
xquery version "1.0-ml"; import module namespace alert = "http://marklogic.com/xdmp/alert" at "/MarkLogic/alert.xqy"; alert:config-set-name($config, "message-board")