So far, we’ve covered the basics of XML readers. By now, you should know how to parse an XML document irrespective of its physical location and storage medium. You know how to move between nodes, how to skip unneeded nodes, and how to read contents and attributes. In short, you have gotten the gist of XML readers.
The reader is a general concept that crosses the whole spectrum of .NET Framework functionalities and applies to XML as well as databases, files, and network protocols. You can also create custom XML readers to process non-XML data structures such as CSV files.
We’ve only scratched the surface of this topic—there’s a lot more to be done. For example, we haven’t yet looked at validation, which is the topic of Chapter 3.