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

How to use element in xslt?

537


Is xml schema required?

550


Is rss still used?

506


What happens if your atom feed fails the validation?

524


Write a program to show literal result element as stylesheet?

519






What atom 1.0 files look like?

549


What is targetnamespace?

525


Why not just carry on extending html?

569


Can I use the getattribute() and setattribute() methods of version 2.2 of the java servlet api to parse xml documents?

580


What do xml editors check?

561


What are xml technologies?

554


Where can I declare an xml namespace?

564


Can we execute an xml?

609


How do I add an rss feed to outlook 365?

552


What is rss in html?

536