converting a proprietary config file to XML

Z

zoltrix

I have a config file for our internal app. The syntax is as follows:

param1*param2*value=3
param1*param2*param3*value=4
param1*value=1
param2*value=3

etc..

What's the best way of doing this? As seen from the example above,
this lends itself to a very nice tree-based representation. So I
tried using tree::DAG but got bogged down converting it to tree, the
original idea was to first convert it to a tree, then traverse the
tree xml-tagging it along the way. Is that a good idea?

Are there better ideas? Thanks for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top