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 diff. between DOM and SAX ?

Answer Posted / harish

The DOM is a tree based mechanism that allows u to load or
create an XML document,gather errors if any: access and
manipulate the information and structures contained within
the document and save the document back out to an XML file
if necessary. Construcing the DOM requires reading the
entire XML structure and holding the object tree in
memory,so it is much more CPU and memory intensive.
the SAX is an event-driven ,serial-access mechanism for
accesing XML documents. SAX is the fastest and least memory
intensive mechanism that is currently available for dealing
with XML documents.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I use xml namespaces in dtds?

918


Can I resolve the uri used as an xml namespace name?

852


What is sgml and xml?

838


what is the role of the doctype declaration in reference to xml?

838


How do I save a xml file?

852


What is rss in html?

824


How do I create an xml file on a mac?

862


Is api a web service?

853


What are the hooks provided by xslt?

894


What's an rss feed and how do I use it?

873


What are the specifications defined in xslt?

874


How do I create an xml return?

968


What’s a document type definition (dtd) and where do I get one?

831


Explain the classes in System.XML Namespace?

1005


What is the stylesheet structure used with xslt?

923