| fetchhint |
This attribute is not
supported.
|
| fetchtimeout |
(defaults to
"fetchtimeout" global property value) The timeout for fetches. Must be
specified with the appropriate time units (e.g., "120s" for 120
seconds). |
| maxage |
(defaults to
"grammarmaxage" global property value) Tells the platform the maximum
acceptable age, in seconds, of cached grammars. |
| maxstale |
(defaults to
"grammarmaxstale" global property value) Tells the platform the maximum
acceptable staleness, in seconds, of expired cached grammars. |
| scope |
Either "document", which
makes the grammar active in all dialogs of the current document (and
relevant application leaf documents), or "dialog", to make the
grammaractive throughout the current form. If omitted, the grammar
scoping is resolved by looking at the parent element. |
| src |
The URI specifying the
location of the grammar. Specifying the rulename within the URI is not
supported. If you wish to load a particular rule from a grammar,
declare that rule "public". See Section
2.2 for details. |
| srcexpr |
Dynamically determine the
URI to fetch by evaluating this ECMAScript expression. |
| type |
The media type of the
grammar. This value takes precedence over other possible sources of the
media type (for instance, the "Content-type" field in an HTTP or RTSP
exchange, or the file extension). The supported choices are
"application/x-jsgf" and "application/srgs+xml". |
| xml:base |
Declares the base URI from
which relative URIs are resolved. |
| tag-format |
This attribute is not
supported. |
| version |
This attribute is not
supported. |
| xml:lang |
The language declaration
provides the language identifier that indicates the primary language
contained by the grammar and optionally indicates a country or other
variation. |
| root |
This attribute declares a
single rule to be the root rule of the grammar. The rule declared as
the root rule must be defined within the scope of the grammar. The rule
declared as the root rule may be scoped as either public or private. |
| mode |
This attribute defines the
type of grammar to be loaded, "dtmf" or "voice". |
weight
|
Specifies the weight of
the grammar. |