
alert:action-set-description( $action as element(alert:action), $description as xs:string ) as element(alert:action)
This function returns the action with the description of the action updated.
| Parameters | |
|---|---|
| $action | The representation of an action. |
| description | The description value to set for the given action. |
xquery version "1.0-ml";
import module namespace alert = "http://marklogic.com/xdmp/alert"
at "/MarkLogic/alert.xqy";
alert:action-set-description($action, "Sends basic SMS text message")
=> Returns the XML representation of the action with the
description updated to "Sends basic SMS text message"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.