|
|
"p" Element
Reference Number: AA-01561 Views: 10454 |
0 Rating/ Voters
|
|
<p>
Description
Treats the text surrounded by this tag as a paragraph.
Syntax
<p
xml:lang = “locale”>
child elements
</p>
|
Attributes
Attribute
|
Description
|
xml:lang
|
Specifies the language and locale to be used for the paragraph. optional field
|
Parent
<audio>, <prosody>,<speak>, <voice>
Children
<audio>, <break>, <emphasis>, <mark>, <phoneme>, <prosody>, <say-as>, <sub>, <s>, <voice>, #TEXT, #CDATA-SECTION
Limitations/Restrictions
Regardless of the punctuation marks, it inserts a pause (1000ms) at the beginning and end of the text in order to define the boundaries of a paragraph.
When the specified xml:lang does not exist, the attribute will be 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>
|
|
|
|