Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is DOM and how does it relate to XML?

Answers were Sorted based on User's Feedback



What is DOM and how does it relate to XML?..

Answer / guest

The Document Object Model (DOM) is an interface
specification maintained by the W3C DOM Workgroup that
defines an application independent mechanism to access,
parse, or update XML data. In simple terms it is a
hierarchical model that allows developers to manipulate XML
documents easily Any developer that has worked extensively
with XML should be able to discuss the concept and use of
DOM objects freely. Additionally, it is not unreasonable to
expect advanced candidates to thoroughly understand its
internal workings and be able to explain how DOM differs
from an event-based interface like SAX.

Is This Answer Correct ?    12 Yes 3 No

What is DOM and how does it relate to XML?..

Answer / santhosh

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 ?    8 Yes 1 No

What is DOM and how does it relate to XML?..

Answer / 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

More XML XSLT RSS Interview Questions

Write a code for xml news?

0 Answers  


How to use XML DOM model on client side using JavaScript.

0 Answers  


What is the relation of soap with xml?

0 Answers  


Does google have an rss reader?

0 Answers  


What is xml parser function?

0 Answers  


Can you execute a xml?

0 Answers  


What are the nodes using which the template gets instantiated?

0 Answers  


What is an rss file extension?

0 Answers  


What is meant by xslt?

0 Answers  


Is xml a flat file?

0 Answers  


What is xpath selector?

0 Answers  


What happens when an element is being processed in forwards-compatible mode?

0 Answers  


Categories