O'Reilly logo

Applied XML Programming for Microsoft® .NET by Dino Esposito

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The XML DOM Programming Interface

The central element in the .NET XML DOM implementation is the XmlDocument class. The XmlDocument class represents an XML document and makes it programmable by exposing its nodes and attributes through ad hoc collections. Let’s consider a simple XML document:

 <MyDataSet>     <NorthwindEmployees count="3">         <Employee>             <employeeid>1</employeeid>             <firstname>Nancy</firstname>             <lastname>Davolio</lastname>         </Employee>         <Employee>             <employeeid>2</employeeid>             <firstname>Andrew</firstname>             <lastname>Fuller</lastname>         <Employee>             <employeeid>3</employeeid>             <firstname>Janet</firstname>             <lastname>Leverling</lastname> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required