DOM & SAX parsers explanation and difference ?
Answer Posted / harish
DOM Parser is nothing but, Document Object Model Parser, It
loads the entire XML file into the primary memory and
represents in a Tree structured manner. It traverses from
Root Node to Child Node.
SAX Parser is nothing but, Simple API for XML. It is event
driven based parser. It traverse node by node in a
sequential order. It won?t load the entire xml file into
the memory. If it is small xml file, better go for DOM
Parser. If it huge xml file, better go for SAX Parser.
| Is This Answer Correct ? | 52 Yes | 5 No |
Post New Answer View All Answers
What are various advantages of utilizing xslt?
Can you convert xml to csv?
Why is xslt used?
How to generate dynamic HTML pages from relational database using XSLT?
Define the basic xml rules?
What is the usage of xslt?
What is xml and css?
Why xml was created?
Why is xml useful?
What is an xml schema used for?
Define the three parts of xsl?
Where can I upload podcasts?
How do I find the rss feed for my blog?
What is an rss file extension?
Explain about xml data binding?