<enumerate>

Enumerates a list of choices within a menu. The <enumerate> element specifies a prompt template that is applied to each choice in the order they appear in the menu, so the user knows which choices are available and how to activate them.

Attributes

None.

Children

Parents

Sample code

<vxml>
    <menu id="nyc_menu" dtmf="true">
        <prompt>
            Welcome to New York city. Please select a borough.
        </prompt>
        <enumerate> For <value expr="_prompt"/>, 
            press <value expr="_dtmf"/>
        </enumerate>
        <choice next="http://nyc.example/manhattan.vxml">
            Manhattan
        </choice>
        <choice next="http://nyc.example/bronx.vxml">
            The Bronx <grammar> (?the bronx) </grammar>
        </choice>
        <choice next="http://nyc.example/brooklyn.vxml">
            <audio src="../prompts/brooklyn.wav"/>
            <grammar>brooklyn</grammar>
        </choice>
        <choice expr="'http://nyc.example/queens.vxml'">
            Queens
        </choice>
        <choice event="no_service_here">
            Staten island
        </choice>
    </menu>
</vxml>