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 the difference between SAX Parser and DOM Parser??

Answer Posted / shyam miyatra

It really nice Explanation by penchala the more about XML

SAX :
---
SAX Parser is the one which is developed to run the java
programs especially.

DOM:
---
DOM is developed by w3c consortium so that it is an open
standard.
In DOM the xml file is arranged as a tree and backward and
forward search is possible for searching the tags and
evaluating the data which it holds.
It depends upon the application and ease of data
accessiblity.
If we want to extract the data from a xml file once we
have to move to SAX which is one time top to bottom read
approach and if we want ot randomly pick the data in an xml
file then the tree reperesentation of DOM model is to be
put into use. Thats all !

Is This Answer Correct ?    35 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there a particularly good ide to use with struts?

885


Are struts thread safe?

933


How you will make available any message resources definitions file to the struts framework environment?

935


What validate() and reset() method does ?

1035


What is the purpose of @requiredstringvalidator annotation?

903


How does struts2 token work?

925


What is discontinuous strut?

892


How we can controlled duplicate form submission in struts?

902


How we can install struts?

936


What configuration files are used in struts?

927


Explain the complete struts validator framework.

967


What is switchaction?

1085


What is the purpose of @key annotation annotation?

1043


What are struts in java?

872


What is the purpose of form-beans tag in struct-config.xml?

882