Murach's C# 2008
How to work with XML files

To start, this chapter presents the basics of XML and shows you how to use the Visual Studio XML Editor for working with XML. Then, it shows you how to use C# with the XmlWriter and XmlReader classes to store XML documents in a file and to read XML documents from a file.

Chapter 22 How to work with XML files
An introduction to XML 674
An XML document 674
XML tags, declarations, and comments 676
XML elements 676
XML attributes 678
How to work with the XML Editor 680
How to create a new XML file 680
How to open an existing XML file 680
How to edit an XML file 680
How to work with XML 682
How to use the XmlWriter class 682
Code that writes an XML document 684
How to use the XmlReader class 686
How the XmlReader class reads nodes 688
Code that reads an XML document 690
A class that works with an XML file 690




Murach's C# 2008

Learn more about this book

View the table of contents

Add this book to your cart



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.