<Block>
The element is a chunk of InboundXML that can only be executed by the and tags. A element can be thought of as a container for other elements.
Note
The element is used with and related to both and .
Element Attributes
Attribute | Description |
---|---|
label required | The name/identifier that labels a element. The and elements will jump to and execute the InboundXML for this label. Valid value: a string value |
Nesting
The can contain nested elements but must be nested in the default element. This element can only be executed by the and elements.
Note
Example below contains a Goto element. Refer to the reference
<Response>
<Goto label="Here"></Goto>
<Block label="Here">
<Say> Lets go to there</Say>
<Goto label="There"></Goto>
</Block>
<Block label="There">
<Say>Whoopee, we are now Here. Sorry, I mean There.</Say>
</Block>
</Response>
Click here to see a complete code snippet with , ,
Updated over 3 years ago