Murach's Visual Basic 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 Visual Basic 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 682
An XML document 682
XML tags, declarations, and comments 684
XML elements 684
XML attributes 686
How to work with the XML Editor 688
How to create a new XML file 688
How to open an existing XML file 688
How to edit an XML file 688
How to work with XML 690
How to use the XmlWriter class 690
Code that writes an XML document 692
How to use the XmlReader class 694
How the XmlReader class reads nodes 696
Code that reads an XML document 698
A class that works with an XML file 700




Murach's VB 2008

Learn more about this book

View the table of contents


More about the eBook



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.