Working with the DOM

The XML Document Object Model (DOM) is a programming interface for XML documents. It defines the way an XML document can be accessed and manipulated and is designed to be used with any programming language or operating system. The XML DOM enables you to create and navigate an XML document. In addition, it makes it possible for you to add, modify, and delete elements from the document.

TIP

Because the XML DOM stores documents in memory, it can consume a lot of resources when manipulating a large XML document. In addition, you should persist this document after creating it.

The Microsoft XML DOM implementation supports all the necessary functions needed to traverse the node tree, access nodes and their attributes, insert and ...

Get Microsoft® Visual C#® .NET 2003 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.