Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
In What scenarios will you use a DOM parser and SAX parser
In What scenarios will you use a DOM parser and SAX parser?
✍: Guest
If you do not need all the data from the XML file then SAX approach is much
preferred than DOM as DOM can quiet memory intensive. In short if you need
large portion of the XML document its better to have DOM.
With SAX parser you have to write more code than DOM.
If you want to write the XML in to a file DOM is the efficient way to do it.
Some time you only need to validate the XML structure and do not want to retrieve
any Data for those instances SAX is the right approach.
2007-10-31, 6063👍, 0💬
Popular Posts:
Is Session_End event supported in all session modes ? Session_End event occurs only in “Inproc mode”...
How To Increment Dates by 1? - MySQL FAQs - Introduction to SQL Date and Time Handling If you have a...
How do you override a defined macro? You can use the #undef preprocessor directive to undefine (over...
In which event are the controls fully loaded ? Page_load event guarantees that all controls are full...
What Is a TD Tag/Element? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells A "td" elemen...