Sapi How to get text inside elements?

Posted by code_wizard on Stack Overflow See other posts from Stack Overflow or by code_wizard
Published on 2014-06-09T09:20:27Z Indexed on 2014/06/09 9:24 UTC
Read the original article Hit count: 198

Filed under:
|
|

My sapi grammar file looks like

 <RULE NAME="SOUNDLOG" TOPLEVEL="ACTIVE"> 
   <O> Please </O>
    <O> Enter</O>
    <P>
     Name
     </P>
     <P>
     <RULEREF REFID="VID_InputType" />
     </P>
     </RULE> 


   <RULE ID="VID_InputType">
    <L PROPID="VID_InputType">
      <P >John</P>
       <P>Jill</P>
       <P>Gary</P>
     </L>

How do I get the name when it is recognized by sapi recognizer?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about visual-studio-2010