Home > Articles > Web Services > XML

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

3.11 emphasis

Element type

emphasis

Attributes

level

Parents

audio | block | catch | choice | emphasis | enumerate | error | filled | help | if | menu | noinput | nomatch | paragraph | prompt | prosody | sentence | voice

Children

PCDATA | audio | break | emphasis | enumerate | mark | paragraph | phoneme | prosody | say-as | sentence | value | voice

Description

Indicates that the contained tts content should be spoken with emphasis.

DTD

<!ELEMENT emphasis (%allowed-within-sentence;)* >
<!ATTLIST emphasis
  level (strong | moderate | none | reduced) 'moderate' >

Language model


03mod11.gif


Attributes

level : (strong | moderate | none | reduced)

Indicates the amount of emphasis to be placed on the contained tts content.

Children

audible and sentence-elements content

To be rendered with the text-to-speech processor with emphasis.

Examples

Example 3-13 The words "most" and "least" spoken with emphasis

<?xml version="1.0" encoding="iso-8859-1"?>
<vxml version="2.0">
  <form id="audiotest">
    <block>
      <prompt>
        The <emphasis level="strong"> most </emphasis> important 
        thing.
        <break/>
        The <emphasis level="reduced"> least </emphasis> important
        thing.
      </prompt>
    </block>
  </form>
</vxml>
  • + Share This
  • 🔖 Save To Your Account