Chapter 17. Reading and Writing XML

After completing this chapter, you will be able to:

  • Understand why XML is so important to Microsoft .NET.

  • Describe the classes that make up the .NET XML namespaces.

  • Parse XML files by using XmlTextReader.

  • Validate XML by using XmlValidatingReader.

  • Write XML by using XmlTextWriter.

  • Use the XmlDocument class to manipulate XML in memory.

This chapter introduces you to the XML capabilities of the Microsoft .NET Framework. XML plays a major role in .NET as an enabling technology, and the .NET Framework provides full support for just about everything you’ll need to do with XML.

Note

This chapter assumes that you already know something about XML. You should be comfortable with elements, attributes, validation, namespaces, and ...

Get Microsoft Visual C++/CLI Step by Step 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.