SALT (Part II): Elements of SALT
In the second part of our "SALT" series we will endeavor to understand the syntax of the key SALT elements and their usage.
<prompt>
The <prompt> element is the main element for speech-output. It allows SALT-based applications to play prompts using TTS (Text to Speech Synthesis) or pre-recorded audio prompts. The SALT 1.0 Specification requires SALT Browsers to support W3C SSML (Speech Synthesis Markup Language), however other TTS markup languages may be supported as well.
Syntax:
<prompt id="" bargein="" prefetch="" xmlns=""
xml:lang="">
--- content of the prompt ---
</prompt>
Prompts are queued and played back by the SALT Applicaiton using the prompt_id.Queue() and prompt_id.Start() methods.
Examples:
- Simple TTS Prompt:
<prompt id="Welcome">
Welcome to your SALT application. What would you like to do today?
</prompt>
- Pre-recorded Audio:
<prompt id="RecordedPrompt">
<content href="welcome.wav"/>
</prompt> - Prompt using external SSML (Speech Synthesis Markup Language) Content:
<prompt id="ExternalContent">
<content href="Welcome.ssml" type="application/ssml+xml"/>
</prompt> - Dynamic Prompt:
<prompt id="DynamicPrompt">
Did you say <value targetelement="txtOption" targetattribute="value"/>?
</prompt>
<grammar>
The <grammar> element is used within <listen> elements (described
later) for specifying input grammars. A speech grammar specifies a set of
utterances that a user may speak to perform an action. SALT Browsers are
required to support an XML form of W3C SRGS (Speech Recognition Grammar Specification).
Additionally, other grammar formats may be also supported as well.
Syntax:
<grammar name="" src="" type="" xmlns="" xml:lang="">
--- content of grammar (when
inline grammar is used ---
</grammar>
Examples:
- Using Inline Grammars:
<grammar xmlns="http://www.w3.org/2001/06/grammar">
--- line grammar in SRGS format ---
</grammar> - Using external Grammars
<grammar src="Employees.grxml" type="application/srgs+xml"/>



Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.