"mark" Element

<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        

AttributeDescription
nameName 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>


Was this article helpful?
Copyright (C) 2001-2024, Ai Software, LLC d/b/a LumenVox