I have serialized list of my object in a xml file. What is the best way to
update only one object and save it back into the xml file.
Do I have to load full list, update one item and save the list into the
file? Or is there way how to update only one element (one object) ???
Thanks
Mirek
Hello Mirek,
I think you have to load the whole XML file and then search for the
special record/item in the XML document. We cannot randomly access one
object directly with the xml file. If the performance must be considered,
you also can consider save the object into database instead of XML file.
Regards,
Luke Zhang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
(This posting is provided "AS IS", with no warranties, and confers no
rights.)