title: XML Serialization/Deserialization in C++
body: <p>I am using C++ from Mingw, which is the windows version of GNC C++. </p>
  
  <p>What I want to do is: serialize C++ object into an XML file and deserialize object from XML file on the fly. I check TinyXML. It's pretty useful, and (please correct me if I misunderstand it) it basically add all the nodes during processing, and finally put them into a file in one chunk using TixmlDocument::saveToFile(filename) function. </p>
  
  <p>I am working on real-time processing, and how can I write to a file on the fly and append the following result to the file?</p>
  
  <p>Thanks.</p>