Hello Dear
some time a go I was working on A WPF-WCF Chat application , i wanted to save user information in a XML File at server side . user information includes user name , user family ,
user image and etc . to save and retrieve these information in a XML file i did easiest way : using DataSet and DataTable .
dataset has some usefull method formworking on XML
DataSet Dset = new DataSet();
Dset.ReadXml("FilePath");
Dset.ReadXmlSchema("FilePath");
Dset.WriteXml("FilePath");
Dset.WriteXmlSchema("FilePath");
DataTable Dtable = new DataTable();
Dtable.ReadXml("FilePath");
Dtable.ReadXmlSchema("FilePath");
Dtable.WriteXml("FilePath");
Dtable.WriteXmlSchema("FilePath");
i could save and retrieve data including image file , from XML file easily
use this methods , it works
Good Luck