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

Why do we need mapdispatchtoprops?

877


What do you mean by inner class and anonymous class?

1097


What are the classes used in struts?

1096


What is the difference between empty default namespace and root namespace?

1147


What is struts? Explain

972


What should be the name of xml file used for validation in struts?

938


Explain struts.devmode?

978


Why are struts tightly coupled?

986


What types of validations are available in xml based validation in struts2?

1061


What are the struts2 error message keys that can come during file uploading process?

1078


What is the purpose of @typeconversion annotation annotation?

983


What is the purpose of execute method of action class?

987


Is struts mvc framework?

935


Explain about the validation steps which have to be carried during validation of client-side address?

986


List some struts tag libraries?

957