xml:lang Attribute
Specifies the language identifier for the content of the element on which it appears. It can also optionally specify a country/region or other variation. The accepted language identifiers include:
- en for English
- en-US for U.S. English
This attribute is required in voice mode. It is ignored in DTMF mode
<elementName
xml:lang = (en | en-US) >
</elementName>
Example
The following example demonstrates that the word "Boston" will be pronounced in U.S. English.
<grammar version="1.0" xmlns="http://www.w3.org/2001/06/grammar"
xml:lang="en-US" tag-format="semantics-ms/1.0" ...>
<rule id="cities">
<one-of>
<item>Boston</item>
</one-of>
</rule>
</grammar>