Modifying an XML file...
I want to modify some of the data in an XML file without overwriting the entire file...
For example, let's say I have a large XML file that contains many pieces of data, but I only want to change one of them. Do I have to read in the entire file, change that one piece of data, then write back the entire file to disk? I would think there should be more efficient way... Also, it would seem, when overwriting an XML file, if there's no way to simply modify one piece of data in the file, all the comments in said file would be overwritten -- unless I included them in my CF code, which is ridiculous...
So I do hope someone will be able to tell me how to modify a single entry in an XML file without having to overwrite the whole thing... Any suggestions?
Thanks,
Laurence MacNeill
Mableton, Georgia, USA
