Home > DeveloperSection > Interviews > In What scenarios will you use a DOM parser and SAX parser?

Posted on    April-02-2013 3:05 AM

 1 Answer(s)
  1688  View(s)
Rate this:

Vijay Shukla

Total Post:81

Posted on    April-02-2013 12:00 AM

In some scenarios, SAX is easily the better choice for quick, less-intensive parsing and processing. In others, the DOM provides an easy-to-use, clean interface to data in a desirable format. You, the developer, must always analyze your application and its purpose to make the correct decision as to which method to use, or how to use both in concert.

Don't want to miss updates? Please click the below button!

Follow MindStick