"s" Element
Description
Regards the text surrounded with tags as a sentence.
Syntax
<s
xml:lang = "locale">
child elements
</s>Attributes
| Attribute | Description |
| xml:lang | Specifies the language to be used within the sentences and locale. Optional field. |
Parent
<audio>, <p>, <prosody>, <speak>, <voice>
Children
<audio>, <break>, <emphasis>, <mark>, <phoneme>, <prosody>, <say-as>, <sub>, <voice>, #TEXT, #CDATA-SECTION
Limitations/Restrictions
Regardless of punctuation marks, a pause (466 ms) is inserted at the beginning and end of the text to define the boundaries of a sentence.
If the specified xml:lang value does not exist, the attribute is ignored.
Example
<?xml version="1.0"?>
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
http://www.w3.org/TR/speech-synthesis/synthesis.xsd"
xml:lang="en-US">
<p>
<s>This is the first sentence of the paragraph.</s>
<s>Here's another sentence.</s>
</p>
</speak>