Motorola 1 manual EMP Element

Page 19

VoxML 1.0 Element Reference

EMP Element

EMP Element

The EMP element is used to identify a context within text that will be read to the user where emphasis is to be applied. The EMP element can be used anywhere that text is read to the user.

The EMP element can be contained within a PROMPT, EMP, PROS, HELP,

ERROR, CANCEL, or ACK element.

Syntax

<EMP [LEVEL="value"] > text </EMP>

Attributes

Attribute Name

Allowed Values

LEVELNONE

REDUCED

MODERATE *

STRONG

Examples

1<PROMPT>

2This example is

3<EMP LEVEL="strong"> really </EMP>

4simple.

5</PROMPT>

The above code illustrates the use of the EMP element to apply “strong” emphasis to the word “really” in a simple prompt.

The actual effect on the speech output is determined by the text-to-speech (TTS) software used by the voice browser. Since the desktop simulator uses different TTS software than the voice browser in the highly-scalable network system, the output may vary. To achieve a specific emphatic effect, use the PROS element instead of the EMP element.

October 1998

VoxML 1.0 Language Reference 15

Image 19
Contents Revision VoxML Language ReferencePage Contents Appendices Overview What is VoxMLPurpose of this Document DIALOGs and STEPs Structure of a VoxML DocumentBasic Elements VoxML 1.0 Application Development Guide Other Reference DocumentationSyntax ACK ElementAttributes Examples Audio Element Break Element Next step URL Cancel ElementExamples Case Element Integer Class ElementExamples Dialog Element EMP Element Error Element Input TYPE=OPTIONLIST Help Element Option NEXT=#end done /OPTION 11 /INPUT 12 /STEP Input Element Data Format Input Element Type DateInput Element Type Digits Input Element Type Grammar Input Element Type Hidden Input Element Type Money Input Element Type None Input Element Type Number Input Element Type Optionlist Input Element Type Phone Input Element Type PROFILE‡ Input Element Type Record Prompt Input Element Type Time Input Element Type Yorn Option Element VoxML 1.0 Element Reference Options Element Syntax Attributes Or ElementPrompt Element Pros Element Rename Element Response Element Examples Step Element Switch Element Prompt Value ElementAppendix a VoxML 1.0 Document Type Definition AppendicesOctober VoxML 1.0 Language Reference Vcard Profile Names and Subtypes Appendix B Vcard Profile Names and SubtypesFirst