Conclusion

Readers and writers are at the foundation of every I/O operation in the .NET Framework. You find them at work when you operate on disk and on network files, when you serialize and deserialize, while you perform data access, even when you read and write configuration settings.

XML writers are ad hoc tools for creating XML documents using a higher-level metaphor and putting more abstraction between your code and the markup. By using XML writers, you go far beyond markup to reach a node-oriented dimension in which, instead of just accumulating bytes in a block of contiguous memory, you assemble nodes and entities to create the desired schema and infoset.

In this chapter, we looked primarily at the programming interface of .NET XML writers—specifically, ...

Get Applied XML Programming for Microsoft® .NET 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.