1.

Explain The Difference Between Dom And Sax?

Answer»
  • SAX PARSER works incrementally and generates EVENTS that are passed to the application. DOM parser reads the whole XML document and returns a DOM tree representation of xml document
  • In DOM the xml file is arranged as a tree and backward and forward search is possible In SAX traversing in any direction is not possible as TOP to bottom approach is used.
  • SAX is essentially an API for reading XML, and not writing it. DOM allows you to read and write.



Discussion

No Comment Found