R
Reggie Burnett
I need to modify a grammar according to some per-user settings. The grammar
is fairly complicated so I don't want to construct it entirely in code. So
I constructed it in the grammar editor and placed a tag where I want to
insert my <one-of> branch.
At runtime, I then use StreamReader to load the grxml file, and do a replace
on <item>replaceme</item> with my dynamically constructed <one-of> branch.
this doesn't seem to be working. I keep getting a -1 error (generic error).
Any idea on how to better handle this?
Thanks
Reggie
is fairly complicated so I don't want to construct it entirely in code. So
I constructed it in the grammar editor and placed a tag where I want to
insert my <one-of> branch.
At runtime, I then use StreamReader to load the grxml file, and do a replace
on <item>replaceme</item> with my dynamically constructed <one-of> branch.
this doesn't seem to be working. I keep getting a -1 error (generic error).
Any idea on how to better handle this?
Thanks
Reggie