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 ...
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