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...

DOM & SAX parsers explanation and difference ?

Answer Posted / sangeri

DOM parser

1.In DOM parser the representation is in the memory as it
is used for the internal representation of an
XML document.
2.It reads the whole document and returns a DOM tree
representation of the
XML document.
3.So for smaller xml we can use DOM as memory is the
constraint.

SAX parser

1.It is event driven
2.It works incrementally and generates events that are
passed to the application.
3.For huge
XML we can go for SAX rather than DOM
4.It does not give any structural representation for the
XML document.

So depending on the application you develop you can choose
any of the parser

Is This Answer Correct ?    31 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use tags in indesign?

795


What is call template in xslt?

787


What are the two types of xml parsers?

922


How do I link xml to xsd?

822


Is docx a zip file?

829


What is parent in pom xml?

817


What are the advantages of xml over html?

808


What is the difference between csv and xml?

816


What is application of xml?

764


What is xsl describe its two parts?

854


How you define template in XSLT?

854


What happens when firefox knows a web page has atom feeds?

780


If an element or attribute is in the scope of an xml namespace declaration, is its name in that namespace?

790


What software is needed to process xml namespaces?

888


What are the standard ways of parsing xml document? Or what is a xml parser?

794