Yes. DOM loads the whole XML document into memory and creates an object for every node in the document. SAX simply scans the document and tells any object interested what it finds as it goes along. Regards, Manne -----Original Message----- From: Anthony Mak [mailto:[EMAIL PROTECTED]] Sent: 27 November 2000 07:44 To: [EMAIL PROTECTED] Subject: SAX and DOM Does DOM take more resource (memory) than SAX? Anthony Mak --------------- $B%"%s%=%s%K!<!!%^%C%/ (B $B%j%s%/>pJs%7%9%F%`3t<02q<R (B $B%"%I%P%s%9;v6HIt!! (BE9 $B%A!<%` (B =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to