# \<enumerate>

## \<enumerate> <a href="#enumerate" id="enumerate"></a>

The `<enumerate>` element is an automatically generated description of the choices available to the user.

### Attributes

None

### Notes

The element specifies a template that is applied to each choice in the order they appear in the menu. The element may refer to two special variables: \_prompt refers to the prompt within the choice and \_dtmf refers to the assigned DTMF sequence of the choice.

### Example

```markup
<?xml version="1.0"?>
<vxml version="2.0">
  <menu id="maincoursea">
    <prompt>
      Please select an entree.
    <enumerate>
      For <value expr="_prompt"/>, press <value expr="_dtmf"/> or say <value expr="_prompt"/>.
    </enumerate>
    </prompt>
    <choice next="#maincoursea1" dtmf="1"> swordfish steak </choice>
    <choice next="#maincoursea2" dtmf="2"> roast beef </choice>
  </menu>

  <menu id="maincoursea1">
    <prompt>
      You chose swordfish steak. Press 1 or say dessert to hear what's for dessert.
    </prompt>
    <choice next="#dessert" dtmf="1">Dessert</choice>
  </menu>

  <menu id="maincoursea2">
    <prompt>
      You chose roast beef. Press 1 or say dessert to hear what's for dessert.
    </prompt>
    <choice next="#dessert" dtmf="1">Dessert</choice>
  </menu>

  <form id="dessert">
    <block>
      <prompt>
        The dessert today is chocolate pie.
      </prompt>
    </block>
  </form>
</vxml>
```

The output of the above script would be:

> Computer: Please select an entree. For swordfish steak, press 1 or say swordfish steak. For roast beef, press 2 or say roast beef.\
> Human: Roast beef.\
> Computer: You chose roast beef. Press 1 or say dessert to hear what's for dessert.\
> Human: Dessert.\
> Computer: The dessert today is chocolate pie.

### Child Tags

[\<audio>](/dev/voicexml/tags/audio-tag.md), [\<break>](/dev/voicexml/tags/break-tag.md), [\<emphasis>](/dev/voicexml/tags/emphasis-tag.md), [\<enumerate>](/dev/voicexml/tags/enumerate-tag.md), [\<mark>](/dev/voicexml/tags/mark-tag.md), [\<phoneme>](/dev/voicexml/tags/phoneme-tag.md), [\<prosody>](/dev/voicexml/tags/prosody-tag.md), [\<say-as>](/dev/voicexml/tags/say-as-tag.md), [\<speak>](/dev/voicexml/tags/speak-tag.md), [\<sub>](/dev/voicexml/tags/sub-tag.md), [\<paragraph>](/dev/voicexml/tags/paragraph-tag.md), [\<sentence>](/dev/voicexml/tags/sentence-tag.md), [\<value>](/dev/voicexml/tags/value-tag.md), [\<voice>](/dev/voicexml/tags/voice-tag.md)

### Parent Tags

[\<audio>](/dev/voicexml/tags/audio-tag.md), [\<block>](/dev/voicexml/tags/block-tag.md), [\<catch>](/dev/voicexml/tags/catch-tag.md), [\<emphasis>](/dev/voicexml/tags/emphasis-tag.md), [\<enumerate>](/dev/voicexml/tags/enumerate-tag.md), [\<error>](/dev/voicexml/tags/error-tag.md), [\<field>](/dev/voicexml/tags/field-tag.md), [\<filled>](/dev/voicexml/tags/filled-tag.md), [\<help>](/dev/voicexml/tags/help-tag.md), [\<if>](/dev/voicexml/tags/if-tag.md), [\<initial>](/dev/voicexml/tags/initial-tag.md), [\<menu>](/dev/voicexml/tags/menu-tag.md), [\<noinput>](/dev/voicexml/tags/noinput-tag.md), [\<nomatch>](/dev/voicexml/tags/nomatch-tag.md), [\<paragraph>](/dev/voicexml/tags/paragraph-tag.md), [\<prompt>](/dev/voicexml/tags/prompt-tag.md), [\<prosody>](/dev/voicexml/tags/prosody-tag.md), [\<record>](/dev/voicexml/tags/record-tag.md), [\<sentence>](/dev/voicexml/tags/sentence-tag.md), [\<speak>](/dev/voicexml/tags/speak-tag.md), [\<subdialog>](/dev/voicexml/tags/subdialog-tag.md), [\<transfer>](/dev/voicexml/tags/transfer-tag.md), [\<voice>](/dev/voicexml/tags/voice-tag.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plumvoice.com/dev/voicexml/tags/enumerate-tag.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
