no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | developer_guide:voicexml_references:elements:link [2015/10/27 12:58] (current) – created borja | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== < link > ====== | ||
+ | ===== Description ===== | ||
+ | |||
+ | A < link > element may have one or more grammars. | ||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | < | ||
+ | <link | ||
+ | next=" | ||
+ | expr=" | ||
+ | event=" | ||
+ | dtmf=" | ||
+ | fetchaudio=" | ||
+ | fetchhint=" | ||
+ | fetchtimeout=" | ||
+ | maxage=" | ||
+ | maxstale=" | ||
+ | child_elements | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Attributes ===== | ||
+ | |||
+ | |next|The next attribute is the URI to transition when a match is recognized. | ||
+ | |expr|The expr attribute is an expression that yields the URI to transition when a match is recognized. | ||
+ | |event|The event attribute is the event to throw when the user input matches one of the linked grammars. | ||
+ | |eventexpr|An ECMAScript expression evaluating to the name of the event to throw when the user matches one of the link grammars.One and only one of the next, expr, event or eventexpr attributes are required.| | ||
+ | |dtmf|The dtmf attribute indicates the DTMF sequence for this link. It is equivalent to a simple DTMF < | ||
+ | |fetchaudio|The fetchaudio attribute is the URI of audio to play while waiting for the next document to be fetched. | ||
+ | |fetchtimeout|The fetchtimeout attribute is the time interval to wait for an audio file to be fetched before playing the alternate content. | ||
+ | |fetchhint|The fetchhint attribute defines when the audio file should be retrieved. | ||
+ | |maxage|The maxage attribute indicates the maximum time in seconds that this document will use this file before fetching another copy. This attribute is optional.| | ||
+ | |maxstale|The maxstale attribute indicates the maximum time in seconds that this document will use the file that exceeded the maxage time. This attribute is optional.| | ||
+ | |||
+ | ===== Parents ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | ===== Children ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | ===== Extensions ===== | ||
+ | |||
+ | < | ||
+ | None. | ||
+ | </ | ||
+ | |||
+ | ===== Limitations/ | ||
+ | |||
+ | < | ||
+ | None. | ||
+ | </ | ||
+ | |||
+ | ===== Example Code ===== | ||
+ | |||
+ | < | ||
+ | <?xml version=" | ||
+ | <vxml version=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | <field name=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ |