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 xsl text?

465


What does an xml file do?

474


What is xml feed?

473


What is excel xml map?

459


How we compare XSLT and XPath?

490






What does a namespace-aware application do when it encounters an error?

485


Is xml a display language?

523


Why was xml created?

466


What are the nodes using which the template gets instantiated?

457


Can an application be both namespace-aware and namespace-unaware?

506


What is the use of xslt element?

485


What do you mean by nested elements in xml?

504


Why xml parsing is important?

464


How to transform an xml document into another xml document? : xslt

624


Define structure of xml?

504