DOM & SAX parsers explanation and difference ?

Answer Posted / ashish jayaswal

DOM is top to bottom traversal as it parse node by node

SAX traverse in any direction because the whole XML while
gets loaded into the memory.

And thats why SAX is faster than DOM.

Is This Answer Correct ?    3 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is XmlReader class? Explain.

483


How to tell visitors that you have atom syndication feeds?

464


What is the difference between podcast and blog?

449


What is atom 1.0 standard?

470


What does soap stand for?

475






Can we use xml as database?

447


Is xpath a programming language?

469


How is xsl different from css?

432


What is an xsd used for?

465


What is the advantage of automated testing over manual testing?

476


What is the difference between a simple element and a complex element?

480


How do I find my youtube rss feed?

462


How does xml handle metadata?

497


What is the purpose of xml?

438


How can you change a pdf to a jpeg?

467