Copying XML settings

Discussion in 'XML' started by CI, Apr 14, 2005.

  1. CI

    CI Guest

    Our application uses an XML file to allow the users to customize some
    settings, they do it manually. Recently we've realeased a new version
    of our product and added some additional tags, the XML file nearly
    doubled in size.

    Does anyone know if there is a way to programmatically copy the user
    settings from the older XML file to the new one? Or maybe someone has a
    link to some code example? C/C++, VB or Java.

    Regards,

    Michael
    CI, Apr 14, 2005
    #1
    1. Advertising

  2. CI wrote:
    > Our application uses an XML file to allow the users to customize some
    > settings, they do it manually. Recently we've realeased a new version
    > of our product and added some additional tags, the XML file nearly
    > doubled in size.
    >
    > Does anyone know if there is a way to programmatically copy the user
    > settings from the older XML file to the new one? Or maybe someone has a
    > link to some code example? C/C++, VB or Java.
    >
    > Regards,
    >
    > Michael
    >


    So what you asking is how to transform the old DOM to a new DOM.

    Use xslt.
    If you don't know xslt you can learn it (just google it).

    A other similar option is to transform the old dom to the new dom
    programmatically.

    cheers
    Tjerk Wolterink, Apr 14, 2005
    #2
    1. Advertising

  3. CI

    CI Guest

    Thanks for the hint, I will check that out.


    Michael
    CI, Apr 14, 2005
    #3
    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. Siegfried Heintze
    Replies:
    0
    Views:
    2,257
    Siegfried Heintze
    Oct 24, 2005
  2. leeanne
    Replies:
    0
    Views:
    1,842
    leeanne
    Sep 24, 2008
  3. donet programmer
    Replies:
    3
    Views:
    1,518
    Gregory A. Beamer
    Nov 20, 2009
  4. Erik Wasser
    Replies:
    5
    Views:
    433
    Peter J. Holzer
    Mar 5, 2006
  5. edfialk
    Replies:
    2
    Views:
    81
    edfialk
    Aug 3, 2007
Loading...

Share This Page