Chapter 10. Working with XML in .NET

Topics in This Chapter

  • Introduction to Using XML: Introduces some of the basic concepts of working with XML. These include the XML validation and the use of an XML style sheet.

  • Reading XML Data: Explains how to use the .NET XML stack to access XML data. The XmlReader, XmlNodeReader, XmlTextReader are examined.

  • Writing XML Data: The easiest way to create XML data is to use the .NET XmlSerializer to serialize data into the XML format. When the data is not in a format that can be serialized, an alternative is the XmlWriter class.

  • Searching and Updating XML Documents: XPath is a query language to search XML documents. Examples illustrate how to use it to search an XmlDocument, XmlDataDocument, and XPathDocument.

Extensible ...

Get Core C# and .NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.