VoiceXML elements and attributes

Last Updated : May 08, 2017 |
Prolog information
Tag
Attributes
Available in VoiceXML 2
Available in VoiceXML 2.1
Available in VoiceXML 3.0
Limitation or Extensions, Supporting information
<assign>
  • name
  • expr
Yes
Yes
Supports all attributes.
<audio>
  • src
  • fetchtimeout
  • fetchhint
  • maxage
  • maxstale
  • expr
Yes
Yes
Supports all other attributes except fetchhint.
<block>
  • name
  • expr
  • cond
Yes
Yes
Supports all attributes.
<catch>
  • event
  • count
  • cond
Yes
Yes
Supports all attributes.
<choice>
  • dtmf
  • accept
  • next
  • expr
  • event
  • eventexpr
  • message
  • messageexpr
  • fetchaudio
  • fetchhint
  • fetchtimeout
  • maxage
  • maxstale
Yes
Yes
Supports all attributes except message, messageexpr, and fetchhint.
<clear>
  • namelist
Yes
Yes
Supports the namelist attribute.
<initial>
  • name
  • expr
  • cond
Yes
Yes
Supports all attributes.
<disconnect>
  • namelist
No
Yes
Supports the namelist attribute.
<else>
  • name
  • expr
  • cond
Yes
Yes
Supports all attributes.
<error>
count
cond
Yes
Yes
Supports all attributes.
<exit>
expr
namelist
Yes
Yes
Supports all attributes.
<field>
  • name
  • expr
  • cond
  • type
  • slot
  • modal
Yes
Yes
Supports all attributes.
<filled>
  • mode
  • namelist
Yes
Yes
Supports all attributes.
<form>
  • id
  • scope
Yes
Yes
Supports all attributes.
<goto>
  • next
  • expr
  • nextitem
  • expritem
  • fetchaudio
  • fetchint
  • fetchtimeout
  • maxage
  • maxstale
Yes
Yes
Supports all attributes.
<grammar>
  • version
  • xml:lang
  • mode
  • root
  • tag-format
  • xml:base
  • src
  • scope
  • type
  • weight
  • fetchhint
  • fetchtimeout
  • maxage
  • maxstale
  • srcexpr
Yes
Yes
Supports all attributes except fetchhint.
<help>
  • count
  • cond
Yes
Yes
Supports all attributes.
<if> (optional <else> and <elseif> elements)
Yes
Yes
Supports the if element.
<link>
  • next
  • expr
  • eventexpr
  • message
  • messageexpr
  • dtmf
  • fetchaudio
  • fetchhint
  • fetchtimeout
  • maxage
  • maxstale
Yes
Yes
Supports all attributes except fetchhint.
<log>
  • label
  • expr
Yes
Yes
Supports all attributes.
<mark> ( an SSML element)
  • name
  • nameexpr
  • markname
  • marktime
  • name — Yes
  • nameexpr — No
  • markname — No
  • marktime — No
Yes
Supports name and nameexpr only.
Note:
In VoiceXML 2.0, the ,<mark> element was ignored by VoiceXML platforms.
<media>
  • src
  • srcexpr
  • clipBegin
  • clipEnd
  • repeatDur
  • repeatCount
No
No
Yes
soundLevel not supported.
<menu>
  • id
  • scope
  • dtmf
  • accept
Yes
Yes
Supports all attributes.
<meta>
  • name
  • content
  • http-equiv
Yes
Yes
Currently inactive.
<metadata>
  • creator
  • rights
  • subject
Yes
Yes
Currently inactive.
<noinput>
  • count
  • cond
Yes
Yes
Supports all attributes.
<nomatch>
  • count
  • cond
Yes
Yes
Supports all attributes.
<object>
  • name
  • expr
  • cond
  • classid
  • codebase
  • codetype
  • data
  • type
  • archive
  • fetchhint
  • fetchtimeout
  • maxage
  • maxage
Yes
Yes
Currently inactive.
<option>
  • dtmf
  • accept
  • value
Yes
Yes
Currently inactive.
<param>
  • name
  • expr
  • value
  • valuetype
  • type
Yes
Yes
  • Currently inactive — valuetype and type.
  • Supports all the other attributes.
<prompt>
  • bargein
  • bargeintype
  • cond
  • count
  • timeout
  • xml:lang
  • xml:base
Yes
Yes
Supports all attributes.
<property>
  • name
  • value
Yes
Yes
Supports all attributes.
<record>
  • name
  • expr
  • cond
  • modal
  • beep
  • maxtime
  • finalsilence
  • dtmfterm
  • type
Yes
Yes
Supports all attributes.
<reprompt>
Yes
Yes
Supports the <reprompt> element.
<return>
  • event
  • eventexpr
  • message
  • messageexpr
  • namelist
Yes
Yes
Supports all attributes.
<script>
  • src
  • charset
  • fetchhint
  • fetchtimeout
  • maxage
  • maxstale
  • srcexpr
  • srcexpr — No
  • Rest of the attributes— Yes
Yes
Supports all attributes except fetchhint.
<subdialog>
  • name
  • expr
  • cond
  • namelist
  • srcexpr
  • method
  • enctype
  • fetchaudio
  • fetchtimeout
  • maxage
  • maxstale
Yes
Yes
Supports all attributes.
<submit>
  • next
  • expr
  • namelist
  • method
  • enctype
  • fetchaudio
  • fetchhint
  • fetchtimeout
  • maxage
  • maxstale
Yes
Yes
Supports all attributes except fetchhint.
<throw>
  • event
  • eventexpr
  • message
  • messageexpr
Yes
Yes
Supports all attributes.
<transfer>
  • name
  • expr
  • cond
  • dest
  • destexpr
  • bridge
  • connecttimeout
  • maxtime
  • transferaudio
  • aai
  • aaiexpr
  • type
  • type — No
  • Rest of the attributes — Yes
Yes
Supports all attributes.
<value>
expr
Yes
Yes
Supports the attribute.
<var>
  • name
  • expr
Yes
Yes
Supports all attributes.
<vxml>
  • version
  • xmlns
  • xml:base
  • xml:lang_d
  • application
Yes
Yes
Supports all attributes.
<data>
  • src
  • name
  • srcexpr
  • method
  • namelist
  • enctype
  • fetchaudio
  • fetchhint
  • fetchtimeout
  • maxage
  • maxstale
No
Yes
Supports all attributes except fetchhint.
<foreach>
  • array
  • item
No
Yes
Supports all attributes.
<receive>
  • fetchaudio
  • fetchaudioexpr
  • maxtime
  • maxtimeexpr
No
No
Yes
Only works from launching the CCXML application to the launched application.
<send>
  • async
  • asyncexpr
  • body
  • bodyexpr
  • contenttype
  • contenttypeexpr
  • event
  • eventexpr
  • fetchaudio
  • fetchaudioexpr
  • namelist
  • timeout
  • timeoutexpr
No
No
Yes
Only works from launching the CCXML application to the launched application. The target and targetexpr attributes must not be specified.