What scenarios are required to use dom parser and sax parser, DOT NET Programming

In What scenarios you use a DOM parser and SAX parser?

1) If you do not require all the data from the XML file then SAX approach is most preferred than DOM as DOM can quiet memory intensive. In brief if you require large portion of the XML document it's better to have DOM.

2) With the SAX parser you have to write more code than DOM.

3) If you want to write the XML into a file then DOM is the efficient way to do it.

4) Some time you only require validating the XML structure and do not want to retrieve any Data for those instances SAX is the right approach.

Posted Date: 9/25/2012 2:51:06 AM | Location : United States







Related Discussions:- What scenarios are required to use dom parser and sax parser, Assignment Help, Ask Question on What scenarios are required to use dom parser and sax parser, Get Answer, Expert's Help, What scenarios are required to use dom parser and sax parser Discussions

Write discussion on What scenarios are required to use dom parser and sax parser
Your posts are moderated
Related Questions
A few changes to OutloProject Description: We require someone who is familiar with programming plug-in to work with Microsoft Outlook. Initially we just require a simple chan

how we can display a alphabets by identifies an image and if its different than show someother alpbabets.

What is an Object in Dot Net? This is the basic unit of a system. An object is an entity that has identity, attributes, and behavior. The Objects are members of a class. The cl

Develop PC Cleaner Software Project Description: We are seeking experienced developer who can develop Registry Cleaner / PC Cleaner software for us. Software should be like c

When we create a private constructor, we can not create object of the class directly from the client. So you will use the private constructors whenever you do not want instances of

What are Windows services? Windows services, previously called as NT services, are applications that are installed on the system as system services. In other words, Windows ser

Is spending in projects constant throughout the project? Generally in initial stage of projects (design and requirement phase) the cost is very less (as you require maximum bus

What is the sequence of UML diagrams in project? At First let me say some fact about this question, you cannot implement all the nine diagrams given by the UML in one project;

What is the use of connection object? The connection objects are used to connect a data to the Command object. 1)An OleDbConnection object is used with the  OLE-DB provider

What are the different levels Of IIS isolation?  The IIS consist of 3 level of isolation as shown below:- LOW (IIS process):- In this type of isolation the main IIS proc