ZVON > References > VoiceXML Reference
Element:link
Attributes: | caching | event | expr | fetchaudio | fetchhint | fetchtimeout | next |
Parents: | field | form | initial | vxml |
Children: | dtmf | grammar |
Description:

Go to Standard

Examples:


<link expr="’#’ + document.helpstate">
     <grammar type="application/x-jsgf">help </grammar>
</link>


<link event="help">
     <grammar type="application/x-jsgf"> arrgh | alas all is lost | fie ye froward machine | I don’t get it </grammar>
</link>


<link next="http://www.voicexml.org/books/main.vxml">
     <grammar type="application/x-jsgf"> books | Voice XML books </grammar>
     <dtmf> 2 </dtmf>
</link>


<vxml version="1.0">
     <var name="bye" expr="'Ciao'"/>
     <link next="operator_xfer.vxml">
          <grammar> operator </grammar>
     </link>
</vxml>


<link event="help">
     <grammar type="application/x-jsgf"> [please] help [me] [please] | [please] I (need|want) help [please] </grammar>
</link>
<field name="sandwich">
     <grammar type="application/x-jsgf"> hamburger | burger {hamburger} | (chicken [sandwich]) {chicken} </grammar>
</field>