Microsoft® .NET Compact Framework (Core Reference)
by Andy Wigley, Stephen Wheelwright, Robert Burbidge, Rory MacLoed, Mark Sutton
Summary
In this chapter, you have seen the XML support provided in the .NET Compact Framework. You have seen that, regarding document navigation features, document modification features, and maintaining a small memory footprint, you have a choice of how to process XML documents.
The XmlTextReader class reads an XML document in a forward-only manner, reporting the types of XML nodes as they appear in the document. The XmlTextWriter class writes an XML document also in a forward-only manner. If you require only forward-only navigation or modification features, the XmlTextReader and XmlTextWriter classes provide a solution that is highly memory-efficient.
For more sophisticated navigation or document modification features, it is possible to use the ...
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