alert:action-get-options( $action as element(alert:action) ) as element(alert:options)
This function returns the options of a given action.
Parameters | |
---|---|
$action | The representation of an action. |
xquery version "1.0-ml"; import module namespace alert = "http://marklogic.com/xdmp/alert" at "/MarkLogic/alert.xqy"; alert:action-get-options($action) => <alert:options> <sms:provider name="Verizon" domain="vtext.com"/> </alert:options>