Conclusion
In this chapter, we examined the building blocks of XML and explored the rationale behind XML readers and writers—a new and innovative way to perform basic operations on XML data sources. In the .NET Framework, XML readers introduce a database-like cursor model to navigate through data. The cursor model falls somewhere between the well-known XMLDOM and SAX models. Not as expensive as XMLDOM and more programmer-friendly than SAX, the .NET Framework cursor model presents XML as just another data format you can work on using a familiar approach.
As a developer, you are certainly familiar with I/O operations accomplished on a file or a database. Why should XML data sources be totally different? The node becomes just another atomic element, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access