cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
175
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: prince christopher joseph on 09-08-2010 07:35:11 AM
I am using the external grxml file in the form node of the CVP application. How to access the return values from the external grxml file , the recognized word. The nodename.value is empty after the successfull reco session
 
 

Subject: RE: A Query regarding the external grammar file usage with regards to CVP
Replied by: Tieying Xuan on 12-08-2010 06:40:48 AM
Try this,
 

<?xml version="1.0"?>
 
   <grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en-US" version="1.0" root="ROOT">
    <rule id="ROOT" scope="public">
        <one-of>        
         <item> january <tag>foundation_fld='1';</tag> </item>
   <item> february <tag>foundation_fld='2';</tag> </item>
   <item> march <tag>foundation_fld='3';</tag> </item>
   <item> april <tag>foundation_fld='4';</tag> </item>
   <item> may <tag>foundation_fld='5';</tag> </item>
   <item> june <tag>foundation_fld='6';</tag> </item>
   <item> july <tag>foundation_fld='7';</tag> </item>
   <item> august <tag>foundation_fld='8';</tag> </item>
   <item> september <tag>foundation_fld='9';</tag> </item>
   <item> october <tag>foundation_fld='10';</tag> </item>
   <item> november <tag>foundation_fld='11';</tag> </item>
   <item> december <tag>foundation_fld='12';</tag> </item>
        </one-of>
     </rule>
   </grammar>

Subject: RE: A Query regarding the external grammar file usage with regards to CVP
Replied by: Hemal Mehta on 16-08-2010 03:39:49 AM
Post the code you are using including the grammar and the way you are accessing it in vxml.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links