Is there a way to tell the XmlSerializer to update the xml element instead of overriding them?
For example, if I have 2 applications that write in the same xml file with
xmlSerializer.Serialize(…)
When the second application will save (serialize), it will overrides change done by the first application. So that’s why I’m asking if the XmlSerializer can do a check to update the object being serialize instead of only writing the file with no check.
XmlSerializer will exclusively write a new XML tree. It cannot be configured to merge output into an existing DOM, or do any other kind of checking.