ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Web Related  >>  XML XSLT RSS
 
 


 

 
 HTML DHTML interview questions  HTML DHTML Interview Questions
 XML XSLT RSS interview questions  XML XSLT RSS Interview Questions
 Flash Action Scripting interview questions  Flash Action Scripting Interview Questions
 SOAP interview questions  SOAP Interview Questions
 WML interview questions  WML Interview Questions
 Web Related AllOther interview questions  Web Related AllOther Interview Questions
Question
What is DOM and how does it relate to XML?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is DOM and how does it relate to XML?
Answer
# 1
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 ?    1 Yes 1 No
Guest
 
  Re: What is DOM and how does it relate to XML?
Answer
# 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 ?    1 Yes 0 No
Santhosh
 
 
 

 
 
 
Other XML XSLT RSS Interview Questions
 
  Question Asked @ Answers
 
What is GetElementbyname method will do?  1
Differences Between XML and HTML  1
What is CDATA Section.  2
what is XML?  2
What is the difference between asp and asp.net Phoenix-Technologies2
What is ?Async? property of XML Means ?  1
Why is WEB.XML file used? T3-Softwares1
what is 'parser'?  1
What is DOM and how does it related to XML? IBM1
What are the ways to create a tree view control using XML, XSL & JavaScript?  1
What is the Difference between XmlDocument and XmlDataDocument?  1
Describe the role that XSL can play when dynamically generating HTML pages from a relational database.  1
How do you load XML document and perform validation of the document? Microsoft1
What are the main benifits of XML?  1
How do you access elements in XML document? Microsoft2
How would you build a search engine for large volumes of XML data?  1
what is XPATH ?  2
How do you send an XML document from client to server ? Digital-GlobalSoft1
Explain XML ?  1
what is XSLT?  2
 
For more XML XSLT RSS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com