< block >

The < block > element specifies a block of directives to be executed in the order given.

child elements
nameThis is the name of the block that can be referred within the form. This is optional and defaults to an inaccessible internal variable.
exprThis attribute indicates the initial value of the block. The block will be visited only if the expression evaluates to “undefined.” This is optional and defaults to undefined.
condThis attribute is a Boolean condition that must evaluate to “true” in order for this block to be visited. This is optional and defaults to true.
<assign>, <audio>, <clear>, <disconnect>, <enumerate>, <exit>, <goto>, <if>, <prompt>, <reprompt>, <return>, <script>, <submit>, <throw>, <value>, <var>
<?xml version="1.0"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
  <block name="first">
   <prompt>This is a block</prompt>
   <goto nextitem="second"/>
  <block name="second">
   <prompt>This is another block</prompt>