XML DOM Object Model
Hi,
Here iam giving basic idea about DOM,
XML DOM Object Model:
* The DOM includes a collection of classes that represent various pieces of an XML document. For
example, the XmlDocument class represents the XML document itself, and the XmlComment class
represents a comment inside the document and so on.
Exploring DOM Processing:
* The DOM is a specification for an API that lets programmers manipulates XML held in memory.
Because it works with XML in memory, it has several advantages and disadvantages over the XmlReader forwardonly
approach.
One advantage is that, in reading the entire document and building a tree in memory, you have access to all
the elements and can wander through the document at will. You can also edit the document, changing,
adding, or deleting nodes, and write the changed document back to disk again.
The main disadvantage is that the whole of an XML document is held in memory at once, so the amount
of memory needed by your program is going to be proportional to the size of the XML document you're
working with. This means that if you're working with a very large XML document—or have limited
memory—you might not be able to use XmlDocument. Another disadvantage is that the API for the
XmlDocument is specified through the DOM model, limiting the options for implementing performance
improvements behind the XmlDocument class.
ok...
Thank u.
