Allows the specification of an existing rule for inclusion within the current grammar.
<ruleref
special = "{NULL | VOID | GARBAGE}"
type = "CDATA"
uri = "URI"
lang-list = "CDATA"
/>
Attribute |
Data Type |
Required? |
Default |
Description |
special |
NULL| |
no |
NA |
Currently there is only support for tag-format of type "Nuance". |
type |
CDATA |
no |
application/srgs+xml |
Type of the referenced rule. Only application/srgs+xml is supported. |
uri |
URI |
no |
NA |
URI of the grammar to reference. |
xml:lang |
CDATA |
no |
NA |
Language used in the referenced rule. |
None.
<?xml version= "1.0"?>
<grammar xmlns="http://www.w3.org/2001/06/grammar"
xml:lang="en-GB" root="rule1">
<rule id="rule1">
<one-of>
<item>
<ruleref uri="http://myserver.com/"/>
</item>
</one-of>
</rule>
</grammar>