[Master Answer Logo]
Question

How do I create a DOM with the sax parser?

Answer

Most users of XML believe that the SAX paradigm results in systematically faster XML processing than DOM. This is attributed to the fact that a SAX stream has a minuscule memory footprint compared to that of a fully constructed DOM tree.

— Source: Wikipedia (www.wikipedia.org)