Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Copying XML settings

Reply
Thread Tools

Copying XML settings

 
 
CI
Guest
Posts: n/a
 
      04-14-2005
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

 
Reply With Quote
 
 
 
 
Tjerk Wolterink
Guest
Posts: n/a
 
      04-14-2005
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
 
Reply With Quote
 
 
 
 
CI
Guest
Posts: n/a
 
      04-14-2005
Thanks for the hint, I will check that out.


Michael

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Settings.settings file with settings for multiple regions donet programmer ASP .Net 3 11-20-2009 03:05 PM
User uploads XML, page reads XML and adjusts settings all in javascript edfialk Javascript 2 08-03-2007 09:52 PM
Different results parsing a XML file with XML::Simple (XML::Sax vs. XML::Parser) Erik Wasser Perl Misc 5 03-05-2006 10:09 PM
Wanted: Help with Document settings\ServerName\ASPNET\Local settings\Temp Siegfried Heintze ASP .Net 0 10-24-2005 06:02 PM
Copying User settings in W2k OxyMoron Computer Support 3 06-14-2004 11:58 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57