Contents | Overview | Examples | Editor | Forum |
---|
A container element holding data to be passed to an external service.
Example:
<send event="Event1">
<content>{ 1, 2, 3}</content>
</send>
<send event="Event2">
<content expr="'Text message'"/>
</send>
Name | Required | Attribute Constraints | Type | Default Value | Valid Values | Description |
---|---|---|---|---|---|---|
expr | false | must not occur with child content | Value expression | none | Any valid value expression | A value expression. See 5.9.3 Legal Data Values and Value Expressions for details. |
When present, the children of <content> may consist of text, XML from any namespace, or a mixture of both.
A conformant SCXML document must not specify both the 'expr' attribute and child content.
When the SCXML Processor evaluates the content element, if the 'expr' value expression is present, the Processor MUST evaluate it and use the result as the output of the content element.
If the evaluation of 'expr' produces an error, the Processor MUST place error.execution in the internal event queue and use the empty string as the output of the content element.
If the 'expr' attribute is not present, the Processor MUST use the children of content as the output.
TOP | Contents | Overview | Examples | Editor | Forum |
---|