Answer Posted / manish pal
# 2
The DOM is a W3C (World Wide Web Consortium) standard.
The DOM defines a standard for accessing documents like XML
and HTML:"The W3C Document Object Model (DOM) is a platform
and language-neutral interface that allows programs and
scripts to dynamically access and update the content,
structure, and style of a document."
The DOM is separated into 3 different parts / levels:
Core DOM - standard model for any structured document
XML DOM - standard model for XML documents
HTML DOM - standard model for HTML documents
The DOM defines the objects and properties of all document
elements, and the methods (interface) to access them.
What is the XML DOM?
The XML DOM is:
A standard object model for XML
A standard programming interface for XML
Platform- and language-independent
A W3C standard
The XML DOM defines the objects and properties of all XML
elements, and the methods (interface) to access them.
In other words:
The XML DOM is a standard for how to get, change, add, or
delete XML elements.
In the DOM, everything in an XML document is a node
DOM Nodes
According to the DOM, everything in an XML document is a
node.
The DOM says:
The entire document is a document node
Every XML element is an element node
The text in the XML elements are text nodes
Every attribute is an attribute node
Comments are comment nodes
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the function of smon?
How do I add an rss feed to wordpress?
How do xsd files work?
Can xml use non-latin characters?
What is the difference between wsdl and soap?
Write a program to show the purpose of literal result element?
How to generate dynamic HTML pages from relational database using XSLT?
How do I add an rss feed to my website?
What is the difference between xml and http?
What are the rules defined for the use of fx element?
Why namespaces are important?
In xml how can the user create code which contains content that would be ignored by the parser?
What are the standard ways of parsing xml document? Or what is a xml parser?
What is xml xsl?
How do I find the rss feed for my blog?