Summary

The .NET Framework provides a wide range of features that allow you to process XML as part of your application. This chapter examined many of those features. You should now be able to process XML in a forward-only, noncached way using an XMLReader and to create XML in the same fashion using an XMLWriter. You can validate XML against a DTD or a schema by applying an XmlValidatingReader.

Alternatively, you can process XML documents in memory using the DOM model provided by an XmlDocument. This model allows you random access to information. DOM also allows you to add, remove, and alter parts of the document before writing it out. You can also now access XML data as if it were data from a relational database by using an XmlDataDocument, which ...

Get Microsoft® Visual J#™ .NET (Core Reference) 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.