-
The XmlTextReader is a fast, forward-only, read-only XML parser. -
The XmlTextWriter provides a forward-only, read-only, noncached way of generating XML streams. -
The XmlTextReader or the XmlTextWriter must first be created and initialized before it can be used. -
Part of this initialization includes setting the properties that will affect how it will handle its XML data. -
The XmlTextReader provides several methods for reading all XML node types. -
The XmlTextWriter provide methods for writing all XML node types. -
After using the XmlTextReader and XmlTextWriter , it is important to close the objects so their resources will be freed. |