Copying XML settings

C

CI

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
 
T

Tjerk Wolterink

CI said:
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
 

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
473,999
Messages
2,570,246
Members
46,840
Latest member
BrendanG78

Latest Threads

Top