Because computers are computers and people are people, they generally have different requirements when it comes to getting their data into a usable format. XML is an attempt to arrange data in a structure that is usable for both people and software.
XML has really come into vogue in recent years, but its roots are quite old. It's derived from SGML (Standard Generalized Markup Language), as is HTML (cousins!). SGML in turn came from GML (Generalized Markup Language), a "metalanguage" (a language that describes another language) designed by IBM back in the 1960s. So, blame IBM if you want to, but either way, you will come in regular contact with XML as you develop .NET applications.
I might as well tell you right from the start: either you will love XML, or you will hate it, but probably both. It's a strange beast, this XML, as you would expect from any acronym that takes letters from the middle of the words it represents ("eXtensible Markup Language"). XML represents an alphabet of data manipulation technologies, an alphabet which strangely has seven Xs. But enough of the teasing; let's extend our understanding of this basic .NET technology.
XML is nothing more than a data format that is both human-readable and machine-readable. Have you ever tried to open a Microsoft Word document with Notepad? Good luck (see Figure 13-1). Although you can usually sift out the main text of the document, most of what you see is gobbledygook. That's because it is in a proprietary ...