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

SAX
• Parses node by node
• Doesn’t store the XML in memory
• We cant insert or delete a node
• SAX is an event based parser
• SAX is a Simple API for XML
• doesn’t preserve comments
• SAX generally runs a little faster than DOM

DOM
• Stores the entire XML document into memory before processing
• Occupies more memory
• We can insert or delete nodes
• Traverse in any direction.
• DOM is a tree model parser
• Document Object Model (DOM) API
• Preserves comments
• SAX generally runs a little faster than DOM

-raju

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is struts2 in java?

1039


What is the purpose of '@keyproperty'?

1027


What is the forward action utilized for?

1086


What is the difference between struts and spring?

939


How is forward action used for integration?

1014


What is action class?

1020


how does request processor relates to action mapping?

912


How we can controlled duplicate form submission in struts?

947


What are the core components of a struct2 based application?

1008


How can we display all validation errors to user on jsp page?

1084


What is apache struts vulnerability?

927


How you will enable front-end validation based on the xml in validation.xml?

1084


What is the purpose of @before?

984


What is difference between interceptors and filters?

1030


How client side validation is enabled on a jsp form?

1074