This section includes the following sample:
ReadWriteXML Sample
ReadWriteXML Sample
This sample application (and related PurchaseOrder application files) demonstrates how to read and write XML. It shows how to automatically map a particular XML stream into a set of objects designed to hold the XML using the XML Serialization classes, how to build an XSD file for classes that you save and load from XML using the XML Serialization classes, and how to create classes that can be used to read and write XML that is defined by an XML Schema Definition Language (XSD) file.
Namespaces used in this sample:
System; System.IO; System.Xml.Serialization
Classes used in this sample:
XmlSerializer; TextReader; StreamReader; TextWriter; StreamWriter