no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | developer_guide:voicexml_references:elements:menu [2015/10/27 21:37] (current) – created borja | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== < menu > ====== | ||
+ | ===== Description ===== | ||
+ | |||
+ | The < menu > element presents a menu of choices to the user and transitions to another dialog based on user input. | ||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | < | ||
+ | <menu | ||
+ | id=" | ||
+ | scope=" | ||
+ | dtmf=" | ||
+ | accept=" | ||
+ | child elements | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Attributes ===== | ||
+ | |||
+ | |id|The id attribute defines the name of the form. If specified, it can be referenced within the same document or from another document. | ||
+ | |scope|The scope attribute defines the scope of the form’s grammar. | ||
+ | |dtmf|The dtmf attribute enables DTMF input for all menu choices. | ||
+ | |accept|The accept attribute specifies the default grammar for each < | ||
+ | |phrase|The phrase attribute is a subset of the words in the phrase expression that can be matched. | ||
+ | |||
+ | ===== Parents ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | ===== Children ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | ===== Extensions ===== | ||
+ | |||
+ | < | ||
+ | None. | ||
+ | </ | ||
+ | |||
+ | ===== Limitations/ | ||
+ | |||
+ | < | ||
+ | None. | ||
+ | </ | ||
+ | |||
+ | ===== Example Code ===== | ||
+ | |||
+ | < | ||
+ | <?xml version=" | ||
+ | <vxml version=" | ||
+ | < | ||
+ | < | ||
+ | What information do you want? | ||
+ | < | ||
+ | For <value expr=" | ||
+ | </ | ||
+ | </ | ||
+ | <choice dtmf=" | ||
+ | <choice dtmf=" | ||
+ | <choice dtmf=" | ||
+ | <choice dtmf=" | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | Good bye. | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ |