Share via


ssml:mark Element

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Designates a specific reference point in the text sequence. This element can also be used to mark an output audio stream for asynchronous notification.

Syntax

<ssml:mark name="string"> </ssml:mark>
<ssml:mark name="string" />

Attributes

Term Definition

name

Required. Identifies the name of the ssml:mark element. The value is a string.

Remarks

The ssml:mark element can be empty or contain text.

Use this element to contain a special sequence of text or markup to reference later either internally from within the SSML document or externally from another document.

Use the empty ssml:mark element to insert a marker into an output stream to trigger asynchronous notification. When the application reaches the ssml:mark element, the text-to-speech engine raises an event that includes the value for the name attribute of the element.

Example

<?xml version="1.0" encoding="ISO-8859-1"?>
<ssml:speak version="1.0"
 xmlns:ssml="http://www.w3.org/2001/10/synthesis"
 xml:lang="en-US">

<ssml:s>
We guarantee that your call will be answered in less
than three minutes. <ssml:mark name="beginWait"/>
</ssml:s>

</ssml:speak>