I have a text file (and for now it is not going to be in xml format) which looks like:
I need to parse the file to create a tree structure that will be presented to a user...and the user can then add his own domain, server, transport etc etc...and those modifications will be reflected into the file.
I'm not sure how to go about parsing this since it seems quite tedious in a non-xml format. I don't know much about grammar...but i think there should be a grammar for the format i have that would make it easy to use some tool for parsing.
Can anybody suggest where i should start?...and even provide some hint on what the grammar should look like?
[ December 14, 2005: Message edited by: Shitij Agarwal ]