I have a project where I read a xml document into memory. Then I populate an observable collection with the data. In the project I have modules that all can change the data coming from the xml document. Seem to me that there should be away to get rid of the observable collection and work directly on the xml document and still get change notifications when elements and properties change. Does anyone know how to do this?
Share
What you want is XML data binding. Check out the XMLDataProvider class from the .NET framework, especially the
DataChangedandPropertyChanged events.Warning: I linked to the 4.0 versions. If you’re using anything older than Visual Studio 2010, change the framework version in the MSDN pages.