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

Assignment Help:

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.


Related Discussions:- What scenarios are required to use dom parser and sax parser

Work with me on different coding using visual studio, Work on different cod...

Work on different coding using visual studio 2012/2013 writing Java script as well as C# codes. Project Description: I want to shift to new Programming Env. and I would like

I need a custom report - crystal reports, I need a Custom Report - Crystal ...

I need a Custom Report - Crystal Reports Project Description: I am seeking a custom report for our syrinx hire software, all reports are made from Crystal Reports. Skills

I need of an e-commerce website, I am concerned to doing like this project,...

I am concerned to doing like this project, i have 5 years of experience in .net skill in engineering and computer related positions with devotement section, I am now a Senior Softw

Difference b/w msml and .net framework xml classes, What is the main differ...

What is the main difference b/w MSML and .NET Framework XML classes? The MSXML supports XML DOM and SAX parsers while the .NET framework XML classes support XML DOM and XML rea

What is the dtd, What is the DTD? The DTD is Document Type Definition ...

What is the DTD? The DTD is Document Type Definition that explains the formation of the content of an XML document. The DTD manages the data to keep in a consistent format. It

XML, Write a XML with database with book details (BOOK ID, Title, Author, s...

Write a XML with database with book details (BOOK ID, Title, Author, subject, published Year, language, vendor, price)

Events in dot net pogramming, What are events? As compared to the deleg...

What are events? As compared to the delegates events works with source and listener methodology. So the listeners who are interested in receiving few events they subscribe to t

Develop shop and veterinarian online, Among the items that are related to t...

Among the items that are related to the implementation of an application for automation of processes, are shown as follows: a) The online patient registry through which patients

Explain the difference between xml and html., Explain the difference betwee...

Explain the difference between XML and HTML. XML explains data while HTML describes how the data should be displayed. Thus, HTML is about displaying information while XML is ab

In what instances you will declare constructor to be private, When we creat...

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

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd