Saturday, 18 October 2014

SAX Vs DOM parser


1.   DOM creates a tree kind of structure to parse the XML document. Whereas SAX doesn’t store information in internal tree type structure, because of this SAX is able to parse large size documents with little memory.
2.   DOM allows random access to the file, whereas SAX doesn’t.


Prevoius                                                 Next                                                 Home

No comments:

Post a Comment