[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] From grammar based file to xml file
Hi, I have a bunch of program config files with sentences based on a grammar. The files and the grammar were written to be used with the yacc parser. Now I have to port the code from c to python, so I'd like to rewrite these config files as xml to parse them with xml python standard tools. The usual approach to do that is write a parser that map a sentence to a xml element using DOM to generate the XML output. I wonder if there is a generic parser out there capable of, given a grammar and a file based on this grammar, generate the xml equivalent of the file for whatever file and grammar. I think it is theoretically possible. Somebody knows from such generic parser? Thanks in advance ------------ Conchi Labra
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|