Choosing Between SAX and DOM
A version of this page is also available for
4/8/2010
When designing your application, you must select the document processing method that is most advantageous for your scenario. For certain scenarios, SAX processing will provide the functionality you require and use less system resources. However, for other scenarios DOM processing provides the better model. The following topics describe the differences and advantages of document processing using either SAX2 or the DOM: