XML is designed as an all-purpose format for organizing data. In many cases, when you decide to use XML, you’re deciding to store data in a standardized way, rather than creating your own new (and to other developers, unfamiliar) format conventions. The actual location of this data—in memory, in a file, in a network stream—is irrelevant.
In this chapter, you’ll learn the ground rules of the XML standard. You’ll learn how to read XML content using the classes of the .NET library and how you can create and read your own XML documents. You’ll also study some of the other standards that support and extend the basic rules of XML, including ...