converting a proprietary config file to XML

Discussion in 'XML' started by zoltrix, May 11, 2004.

  1. zoltrix

    zoltrix Guest

    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.
    zoltrix, May 11, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. zoltrix
    Replies:
    0
    Views:
    425
    zoltrix
    May 10, 2004
  2. Rocky
    Replies:
    2
    Views:
    1,147
    Thomas Matthews
    Apr 6, 2004
  3. Rocky
    Replies:
    1
    Views:
    295
    Claudio Puviani
    Apr 8, 2004
  4. jkflens
    Replies:
    2
    Views:
    1,437
    jkflens
    May 30, 2006
  5. Joakim Persson
    Replies:
    8
    Views:
    1,365
    Paul Casteels
    Sep 21, 2005
Loading...

Share This Page