VoxML 1.0 Element Reference
PROMPT Element
PROMPT Element
The PROMPT element is used to define content (text or an audio file) that is to be presented to the user. Typically, the PROMPT element will contain text and several markup elements, like the BREAK or EMP element, that are read to the user via
The PROMPT element can be contained within a STEP or a CLASS element.
Syntax
<PROMPT> text </PROMPT>
Attributes
The PROMPT element has no attributes.
Examples
1 <STEP NAME="init">
2<PROMPT> How old are you? </PROMPT>
3<INPUT TYPE="number" NAME="age" NEXT="#weight"/>
4</STEP>
In this simple example, the text “How old are you?” will be spoken via
October 1998 | VoxML 1.0 Language Reference 39 |