In order to access the documents such as HTML and XML, a W3C standard is defined known as Document Object Model (DOM). The definition of DOM as per W3C is as
“The Document Object Model (DOM) is an application programming interface (API) for HTML and XML documents. It defines the logical structure of documents and the way a document is accessed and manipulated.”
The objects, properties, and the interface methods are defined by DOM for accessing all the XML elements. DOM is categorized into three parts:
The standard object model of XML is XML DOM. Nodes are the XML documents having hierarchical information and these nodes and the relationship between them are described by the standard programming interface called DOM.
An API is provided by the XML DOM, enables the developers in adding, editing, moving or removing the nodes such that an application is created.
The DOM structure is explained with the following diagram. An XML document is evaluated by the parser as a DOM structure by passing through the node.
The following are the advantages of XML DOM.
XML DOM Related Interview Questions
|XML Interview Questions||HTML Interview Questions|
|CSS Interview Questions||XSLT Interview Questions|
|Java XML Interview Questions||XMLHttpRequest (XHR) Interview Questions|
|ebXML Interview Questions||XML DOM Interview Questions|
|XML-RPC Interview Questions||XSD Interview Questions|
|XSL Interview Questions||Xml Publisher Interview Questions|
Xml Dom Tutorial
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.