Sapi How to get text inside elements?
- by code_wizard
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?