Speech recognition grammar - Ruleref element problem RRS feed

  • Question

  • Hi friends,

    I am creating grammar (.grxml) file programmatically and set all rules' references uris in root rule using ruleref element like below (syntax not perfect, just to make it clearer)

    root = top

    <rule id = top>

    <ruleref uri = #one>

    <ruleref uri = #two>


    however, it seems its not referencing the rules at all, but if I set root = one , it works but only for that rule(one) and not for others. Can anybody help me resolving this please ?


    Friday, June 22, 2012 12:52 PM


  • got it. required to do,

    root = top

    <rule id=top>


    <item><ruleref uri = #one></item>

    <item><ruleref uri = #two></item>



    • Marked as answer by Megha Dave Wednesday, August 29, 2012 11:29 AM
    Wednesday, August 29, 2012 11:29 AM