Summary

In this chapter, we discussed the importance of XML and how its characteristics as a data-description language can be put to good use with the .NET Framework.

Specifically, you learned how to leverage the System.Xml and System.Xml.Schema classes to do the following:

  • Read and parse XML documents from files and streams using the XmlTextReader class

  • Write well-formed XML documents using the XmlTextWriter class

  • Validate XML documents with the XmlValidatingReader class

  • Create well-formed schemas, element by element, using the XmlSchema class and its attendant element classes, such as XmlComplexType and XmlSequence

After reading this chapter, you should have a good understanding of not only how to interact with XML using the Framework Class Library, ...

Get Visual Basic® Programmer's Guide to the .NET Framework Class Library 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.