Follow the below link to see my article at CodeProject with source code.
http://www.codeproject.com/KB/cpp/TreeView_Serializer.aspx
It demonstrates how to serialize and de-serialize the contents of System.Windows.Forms.TreeView control from an XML file using forward only, non-cached XmlTextReader and XmlTextWriter.