473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Copying XML settings

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

Jul 20 '05 #1
2 1004
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
Jul 20 '05 #2
CI
Thanks for the hint, I will check that out.
Michael

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore...
4
by: Gordon Burditt | last post by:
What's the easiest way to copy a row from one table to another (with the same schema), without knowing in advance the number and types of the columns? The problem: I have several sets of tables...
0
by: Dan | last post by:
We debug a VB.Net App that uses compact framework to a DAP Windows CE.Net device. When I debug I would like to only have the EXE copied down. Right now it copies any referrences as well and...
2
by: ReidarT | last post by:
I have a copyfile x y and built this to a exe-file.' When I run the exe-file built in the bin-directory and copy it to other machines I get an errormessage concerning security policy. I don't...
4
by: Michael Nemtsev | last post by:
Use Win2003 Server and VS 2003. When I'm trying to debug COM+ lib, I've stumble over ShadowCopying feature, when my dll being copied in temporary folder, and I can't step in my dll. No breakpoits...
17
by: Michael | last post by:
Hello, I am writing an app that will sit on the desktop. It needs to be able to make a copy of a folder that sits on the server. It will copy the folder from the server and place it in the same...
0
by: berwiki | last post by:
I am trying to copy a table to another SQL 2000 Database, but I continually get errors. When I right-click, choose All-Tasks, Export-Data and go through the DTS settings, I get an 'Unspecified...
9
by: Jess | last post by:
Hello, I tried to clear a vector "v" using "v.clear()". If "v" contains those objects that are non-built-in (e.g. string), then "clear()" can indeed remove all contents. However, if "v"...
2
by: schneider | last post by:
Hi all, I want to publish my asp.net 2.0 website using the "publish website" feature of visual studio 2005. everything works fine so far, but the IDE only compiles and copies the aspx, ascx,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.