What are the Different Types of DOM ?Pritesh
The W3C DOM standard is separated into 3 different parts:
- Core DOM
- XML DOM
- HTML DOM
|No||DOM Type||Purpose/Use of DOM|
|1.||Core DOM||Standard Model for Accessing any Structured Document.|
|2.||HTML DOM||Standard Model for Accessing HTML Document.|
|3.||XML DOM||Standard Model for Accessing XML Document.|
What is HTML DOM ?
The HTML DOM is :
- A standard object model for HTML
- A standard programming interface for HTML
- A W3C standard
The HTML DOM defines the objects and properties of all HTML elements, and the methods to access them.
What is XML DOM ?
The DOM is used by a higher-level application.
[one_third last=”no”][/one_third] In order to write an application that will be accessing an XML document through the DOM, you need to have an XML parser and a DOM implementation installed on your machine.
XML DOM is used to access the XML document. The XML DOM defines the objects and properties of all XML elements, and the methods to access them.