XmlTextWriter
XmlTextWriter is derived from the XmlWriter class. XmlWriter is the abstract class that defines the basic functionality required to produce document streams conforming to the W3C’s XML recommendations. XmlWriter completely shields applications from the complexities of producing XML document streams by enabling them to work with a well-organized API. Producing a document with XmlWriter is similar to producing documents via SAX. Currently, there are two implementations of XmlWriter: XmlTextWriter and XmlNodeWriter. These implementations are just like reader versions, only they work in the opposite directions.
XmlWriter makes it possible to write out all standard constructs such as elements, attributes, and processing instructions. ...
Get Special Edition Using® Microsoft® ASP.NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.