Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books

XML DOM

<<Previous  Next>>

What is DOM?

Answer
DOM is an interface-oriented Application Programming Interface. It allows for navigation of the entire document. A DOM document can be created by a parser, or can be generated manually by users. Data types in DOM Nodes are abstract. DOM implementations generally require the entire document to be loaded into memory and constructed as a tree of objects before access is allowed. DOM is supported in Java. Its specification is regulated by the World Wide Web Consortium.

Explain the difference between DOM and SAX.

Answer
SAX parser works incrementally and generates events that are passed to the application. DOM parser reads the whole XML document and returns a DOM tree representation of xml document

In DOM the xml file is arranged as a tree and backward and forward search is possible In SAX traversing in any direction is not possible as Top to bottom approach is used.

SAX is essentially an API for reading XML, and not writing it. DOM allows you to read and write. 

<<Previous  Next>>



More XML Links

What is XML Namespace?

Answer - An XSL sheet or a document may have duplicate elements and attributes. Therefore, the XML namespaces define a way to distinguish between..............

What is XML data binding?

Answer - XML data binding refers to the process of representing the information in an XML document as an object in computer memory...............

What is an XML encoding error?

Answer - XML documents can contain non ASCII characters, like Norwegian æ ø å , or French ê è é which introduce errors...............

 
Today's Hot Jobs
C++  SQL Server
.NET  Java  Oracle
Finance  Marketing
Seekers  Employers
Copyright © 2008 CareerRide.com. All rights reserved.