usage:
xmltobotsgrammar.py <xml_sample.xml> <xml_grammar.py>
Kind Regards,
Mike
this quality of of the generated xml grammar depends upon the quality of the xml file.
so:
- include all elements, all attributes
- if repeatable, have it occur more than once.
kind regards,
henk-jan
On 12/09/2011 06:07 PM, Akhilesh Kumar wrote:
> Hi Mike,
>
> Thank you so much. I will try and let you know in case I have any difficulty.
>
> Regards,
> Akhilesh
>
henk-jan
On 12/09/2011 06:36 PM, Akhilesh Kumar wrote:
> Thanks Henk for this further info.
>
> I got a good grammar file generated - cool one
> Just a side note on how did I use this. Initially I got error that the input .xml file is missing, then I traced the error and did the following:
>
> The file name I used was "claim.xml" (for 837).
> I had to make a "claim" folder under "D:\Python27\Lib\site-packages\bots\botssys\data" directory and copy the "claim.xml" file here.
> "D:\Python27\Lib\site-packages\bots\botssys\data\claim\claim.xml"
>
> After executing the command I got the output grammar file in "D:\Python27\Lib\site-packages\bots" folder.
>
> "bots-xml2botsgrammar.py claim.xml BCBSGA_grammar.py"
>
> Thank you for your quick help.
>
> Regards,
> Akhilesh
>
> On Fri, Dec 9, 2011 at 12:12 PM, henk-jan ebbers <hjeb...@gmail.com <mailto:hjeb...@gmail.com>> wrote:
>
> hi Akhilesh,
>
> this quality of of the generated xml grammar depends upon the quality of the xml file.
> so:
> - include all elements, all attributes
> - if repeatable, have it occur more than once.
>
> kind regards,
> henk-jan
>
>
> On 12/09/2011 06:07 PM, Akhilesh Kumar wrote:
>
> Hi Mike,
>
> Thank you so much. I will try and let you know in case I have any difficulty.
>
> Regards,
> Akhilesh
>