<content ...> element


The content element can be used to reference external content such as dynamically generated speech markup or remote audio files. It also holds optional inline content which will be rendered in the event of a problem with the externally referenced material. This can take the form of any of the inline content possible for prompt.

Optional: The content element specifies a link to an external output resource and identifies its type. SALT platforms should attempt to render if possible the content of the resource, but if this is impossible, any content specified inline will instead be output.


Attributes

Name Data type Default
href
uri
required
type
content.type
"audio/wav;codec=g711"

Children

none

Parents

Properties

none

Methods

none

Example

<salt:prompt>
    <content href="/VoiceMailWelcome.ssml"
         type="application/ssml+xml" />

    After the beep, please record your message:
    <content href="/wav/beep.wav" />.
</salt:prompt>

 

Extra info

For details on usage of this element, see the SALT Specification, Version 1.0.