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 the design role played by struts?

971


What does modeldriven interceptor?

1030


How is the mvc design pattern used in struts framework?

925


Who makes the struts?

896


What are the steps involved in creating a strut application?

922


What is role of action class?

999


What is front controller in struts?

955


What’s the utilization of resource bundle properties file in struts validation structure?

1062


Difference between struts and spring? Or why use spring, if you are already using struts?

922


What is the purpose of '@keyproperty'?

991


What is an interceptor stack?

1000


Difference between html tags and struts specific html tags

868


Can explain about the validations and in your project where did u used the validations?

7531


What is the purpose of struts.properties in struct2?

899


What is the default suffix for struts2 action uri ?

929