Attribute types

VoiceXML element attributes are in many cases type-restricted by the VoiceXML DTD. Some of the more common attribute types are summarized below:

NMTOKEN

An XML name token (see The XML Handbook).

CDATA

Character data to be interpreted verbatim (see The XML Handbook).

PCDATA

Parsed character data (see The XML Handbook).

ID

A unique element identifier (see The XML Handbook).

bargeintype

The enumeration (energy | speech | recognition)used to indicate what constitutes a barge-in event.

boolean

The enumeration (true | false).

content.type

CDATA containing a MIME (Multipurpose Internet Mail Extensions) content-type identifier.

duration

CDATA containing a time duration written as a number followed by a unit abbreviation (s, ms, etc.).

event.name

An NMTOKEN used to name a particular event type.

event.names

CDATA comprising a space-delimited list of event.names.

expression

CDATA representing an ECMAScript expression.

field.name

An NMTOKEN used to name a form field.

field.names

CDATA comprising a space-delimited list of field.names.

phoneme-alphabet

CDATA containing the name of a phoneme alphabet.

phoneme-string

CDATA containing a word spelled in a phoneme alphabet.

scope

An enumeration (document | dialog) used to indicate the scope of a grammar rule.

uri

CDATA representing a Uniform Resource Identifier (URI).

voice-name

CDATA containing the name of a text-to-speech voice "personality."

voice-names

CDATA comprising a space-delimited list of voice-names.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.120.202