SAX Vs DOM



SAX Vs DOM

SAX DOM
SAX stands for the Simple API for XML. DOM stands for the Document Object Model.
This is an event based XML parsing. This is an tree based XML parsing.
Read action only takes place. Both read and write actions takes place.
Huge data are streams. Need to move back and forth in data.
Machine generated data. Human created Document.
SAX is used for very large documents. DOM is used for only small documents.
Process less elements only. Process many elements and perform operations on XML.
Not access XML many times like DOM. Access XML many times.
Faster at Runtime. Slower at Runtime.
 SAX Vs DOM

Learn XML - XML tutorial - SAX Vs DOM - XML examples - XML programs



Related Searches to SAX Vs DOM