<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Simple API for XML - Page 4 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Simple_API_for_XML&amp;p=3">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Simple_API_for_XML&amp;p=5">3.Next</a>
</p>
<p>been closed yet, in order to catch later errors such as end-tags in the wrong order). Thus, the minimum memory required for a SAX parser is proportional to the maximum depth of the XML file (i.e., of the XML tree) and the maximum data involved in a single XML event (such as the name and attributes of a single start-tag, or the content of a processing instruction, etc.).</p>

<p>This much <a href="page.php?w=Memory_%28computers%29">memory</a> is usually considered negligible. A DOM parser, in contrast, has to build a tree representation of the</p><p>
<a accesskey="1" href="page.php?w=Simple_API_for_XML&amp;p=3">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Simple_API_for_XML&amp;p=5">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
