A <link> element may have one or more grammars. The grammars are in the scope of the element containing this <link> element. When the user input matches one of the linked grammars, it activates the <link> to either throw an event, or transition to another document or dialog (i.e. form or menu).
|
|
Attribute |
Description |
|
next |
The URI of the dialog (i.e. form or menu) or document to transition to when the user input matches one of the link grammars. Exactly one of next, expr, event, or eventexpr must be specified. |
|
expr |
An ECMAScript expression to be evaluated and used as the URI of the dialog (i.e. form or menu) or document to transition to when the user input matches one of the link grammars. Exactly one of next, expr, event, or eventexpr must be specified. |
|
event |
The name of the event to be thrown when the user input matches one of the link grammars. Exactly one of next, expr, event, or eventexpr must be specified. |
|
eventexpr |
An ECMAScript expression to be evaluated and used as the name of the event to be thrown when the user input matches one of the link grammars. Exactly one of next, expr, event, or eventexpr must be specified. |
|
dtmf |
The DTMF sequence for this link. It is equivalent to a simple DTMF grammar. This attribute can be used at the same time as other grammars: the link is activated when user input matches either a link grammar or this DTMF sequence. Optional. |
|
fetchaudio |
The URI of audio to play while waiting for the document to be fetched. Optional. Overrides the value of the |
|
fetchaudiodelay |
The length of time to wait at the start of the fetch delay before playing Overrides the value of the A platform extension. |
|
fetchaudiominimum |
The minimum length of time to play Overrides the value of the A platform extension. |
|
fetchhint |
Defines when the next document should be fetched. Optional.
Overrides the value of the |
|
fetchtimeout |
The length of time to wait for the next document to be fetched before throwing an Overrides the value of the |
|
maxage |
Indicates that this document is willing to use a cached copy of the next document only while the age of the cached copy is less than or equal to the number of seconds specified by this attribute. Optional. Overrides the value of the |
|
maxstale |
Indicates that this document is willing to use a cached copy of the next document that has exceeded its expiration time by as much as the number of seconds specified by this attribute. Optional. Overrides the value of the |
|
message |
A message string providing additional context about the event being thrown. The message will be available as a variable within the scope of the |
|
messageexpr |
An ECMAScript expression to be evaluated and used as a message string, as documented under |
event/eventexpr is thrown based on the scope of the active dialog (ie. <field>, <menu>, etc., where the user was when the link grammar was matched).<field>, <menu>, etc., where the user was when the link grammar was matched).error.badfetch event is thrown if more or less than one of next, expr, event, and eventexpr are specified.fetchaudiodelay attribute.fetchaudiominimum attribute.None
|