Browse
 
Tools
Rss Categories

"mark" Element

Reference Number: AA-01570 Views: 2702 0 Rating/ Voters

<mark>

 

Description

A mark element is an empty element that places a marker into the text/tag sequence. The mark element can be used to reference a specific location in the text/tag sequence, and can additionally be used to insert a marker into an output stream for asynchronous notification.


Syntax

  
  

<mark

  name = “string”

/>

 

Attributes

        
  

Attribute

  

Description

  

name

  

Name of the mark.  mandatory field

 

Parent

<audio>, <emphasis>, <p>, <prosody>, <s>, <speak>, <voice>


Children

None


Limitations/Restrictions

The maximum length of the name value, including null characters, is 512 bytes. Any string longer than that will be truncated.

The <mark> element does not affect the result of the synthesized speech in any way.


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">

         Go from <mark name="start"/> here, to <mark name="end"/> there!

</speak>