O'Reilly logo

Definitive VoiceXML™ by David Cuddihy, Adam Hocek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.6. choice

Element typechoice
Attributesaccept (2.0) | caching (1.0) | dtmf | event | expr | fetchaudio | fetchhint | fetchtimeout | maxage (2.0) | maxstale (2.0) | next
Parentsmenu
ChildrenPCDATA | audio | break | emphasis | enumerate | grammar | mark | paragraph | phoneme | prosody | say-as | sentence | value | voice
DescriptionDeclares one of the choices in a menu. A choice element can have an associated speech grammar fragment and/or DTMF grammar fragment. It can also be used to reference an URI to go to when selected. The contents of a choice are used to form the enumerate prompt string.

Language model

DTD

 <!ELEMENT choice (%audio; | grammar ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required