|VoiceXML 2.1 Development Guide||Home | Frameset Home|
|xml:lang||Data Type: NMTOKEN||Default: Optional (en-US)|
|The xml:lang attribute specifies the language and locale information of the VoiceXML document. If omitted, it will inherit this value from the document hierarchy, or ultimately from the platform default, which equates to 'en-US'. The language and locale information is not case-sensitive.|
For VoiceXML language options and mappings, see ASR Languages and TTS Languages.
|<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.1">
<meta name="author" content="Matthew Henry"/>
<meta name="copyright" content="2005 voxeo corporation"/>
<meta name="maintainer" content="YOUR_EMAIL@HERE.COM"/>
Brother John saw visions of God.
So they put him in chains, for acting too odd.
As the crowd shouted 'off with his head'.</sentence>
The priest said 'have mercy, lets burn him instead'
|ANNOTATIONS: EXISTING POSTS|
|Sample code line
<sentence xml:lang="en-US""> to be modified to remove the extra " at the end of en-US
Hi there, and thanks for catching another of my typos. I'll have this fixed and updated very shortly.
|What does it mean to read something out in sentence structure or paragraph structure? What is the difference between them? The documentation doesn't make this clear.|
The <p> (paragraph) and <s> (sentence) elements are primarily used for structuring purposes, and are completely optional. They do not really make a difference as far as TTS read-back is concerned. More information on these elements can be found by visiting the SSML specification:
Hope this helps,