Ukázkový VoiceXML formulář
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml" xml:lang="cs-CZ"> <form id="hello">
<block name="hello">
<prompt>Welcome to the VoiceXML!.</prompt>
</block>
<field name="greating">
<prompt>Hello.</prompt>
<grammar root="greating">
<rule id="greating">
<one-of>
<item>hello</item>
<item>hi</item>
<item>good day</item>
</one-of>
</rule>
</grammar>
<noinput>
<prompt>Tell mi something nice, like hello, hi, good
day.</prompt>
</noinput>
<nomatch>
<prompt>I didn't understand you, but thanks anyway.</prompt>
<exit/>
</nomatch>
<noinput count="2">
<prompt> When you don't want to speek to me good bye.</prompt>
<exit/>
</noinput>
</field>
<filled>
<prompt> You said <value expr="greating"/></prompt>
</filled>
</form>
</vxml>