Proceed to WirelessDevNet Home Page
Publications, e-books, and more! Community Tutorials Store Downloads, tools, & Freebies! IT Career Center News Home
newnav.gif

Newsletters
EMail Address:



   Content
  - Articles
  - Columns
  - Training
  - Library
  - Glossary
 
   Career Center
  - Career Center Home
  - View Jobs
  - Post A Job
  - Resumes/CVs
  - Resource Center
 
   Marketplace
  - Marketplace Home
  - Software Products
  - Wireless Market Data
  - Technical Books
 
   News
  - Daily News
  - Submit News
  - Events Calendar
  - Unsubscribe
  - Delivery Options
 
   Community
  - Discussion Boards
  - Mailing List
  - Mailing List Archives
 
   About Us
  - About WirelessDevNet
  - Wireless Source Disks
  - Partners
  - About MindSites Group
  - Advertising Information
 
Voice XML Reference Voice XML Reference

Bookmark this page

The menu Element - <menu>

Description:
A menu is a convenient syntactic shorthand for a form containing a single anonymous field that prompts the user to make a choice and transitions to different places based on that choice. Like a regular form, it can have its grammar scoped such that it is active when the user is executing another dialog.


Example:
<menu>
  <prompt>Welcome home. Say one of: <enumerate/></prompt>
  <choice next="http://www.sports.example/vxml/start.vxml">
    Sports </choice>
  <choice next="http://www.weather.example/intro.vxml">
    Weather </choice>
  <choice next="http://www.stargazer.example/voice/astronews.vxml">
    Stargazer astrophysics news </choice>
  <noinput>Please say one of <enumerate/></noinput>
</menu>


Attributes
Name Value Description
id PCDATA The identifier of the menu. It allows the menu to be the target of a <goto> or a <submit>.
scope "dialog", "document" The menu’s grammar scope. If it is dialog (default), the menu’s grammars are only active when the user transitions into the menu. If the scope is document, its grammars are active over the whole document (or if the menu is in the application root document, any loaded document in the application).
dtmf boolean When set to true, any choices that do not have explicit DTMF elements are given the implicit ones "1", "2", etc.


Back to Tag Listing
Sponsors

Search

Eliminate irrelevant hits with our industry-specific search engine!









Wireless Developer Network - A MindSites Group Trade Community
Copyright© 2000-2010 MindSites Group / Privacy Policy
Send Comments to:
feedback@wirelessdevnet.com