In What scenarios will you use a DOM parser and SAX parser?
Ask by Vijay Shukla
Updated 19 Sep 2020
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.