====== < menu > ====== ===== Description ===== The < menu > element presents a menu of choices to the user and transitions to another dialog based on user input. ===== Syntax ===== 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. For example,
can be referenced as . This attribute is optional.| |scope|The scope attribute defines the scope of the form’s grammar. This attribute is optional and defaults to dialog. \\ * dialog – the form’s grammars are only active within the form. \\ * document – the form’s grammars are active throughout the document. If this is an application root document, then the form’s grammars are active throughout the application.| |dtmf|The dtmf attribute enables DTMF input for all menu choices. This attribute is optional and defaults to false. \\ * true – the interpreter assigns a DTMF sequence "1", "2", "3"... to the choices in order for all menu choices that do not explicitly define a DTMF sequence. \\ * false – the interpreter does not implicitly assign DTMF sequences.| |accept|The accept attribute specifies the default grammar for each element. This attribute is optional and defaults to exact. \\ * exact – the text of the element that defines the exact phrase to be recognized. \\ * approximate – the text of the element that defines an approximate recognition.| |phrase|The phrase attribute is a subset of the words in the phrase expression that can be matched. For example, "Hello world" can be matched with "Hello world", "Hello", or "World".| ===== Parents ===== ===== Children ===== ===== Extensions ===== None. ===== Limitations/Restrictions ===== None. ===== Example Code ===== What information do you want? For , press goodbye sports weather stock Good bye.