Delphi: XML: Parser: SAX: DOM: What is the difference between the SAX and DOM parser?---DOM:creates an internal representation of an XML document-Nice for smaller XML files, but because of the whole XML file representation is in memory, it is possible not useful for very large documents-good for representation of an XML document.---SAX:Event driven, so reacting when it finds certain elements in the XML code (e.g. tags, properties, ...)goes from top to bottom, and if it encounterse.g. begintag, it fires an event. e.g. end tag, it fires and event. e.g. begin of file, it fires an event--- ---Internet: see also:---http://www.skch.net./http://www.skch.net/download/xml1.pdfhttp://www.skch.net/download/xml2.pdfhttp://www.tek-tips.com/gviewthread.cfm/lev2/4/lev3/29/pid/102/qid/526604
and DOM parser?---DOM:creates an internal representation of an XML document-Nice for smaller XML files, but because of the whole XML file
representation is in memory, it is possible not useful for
very large documents-good for representation of an XML document.---SAX:Event driven, so reacting when it finds certain elements in the XML
code (e.g. tags,
properties, ...)goes from top to bottom, and if it encounterse.g. begintag, it fires an event.
e.g. end tag, it fires and event.
e.g. begin of file, it fires an event---
---Internet: see also:---http://www.skch.net./http://www.skch.net/download/xml1.pdfhttp://www.skch.net/download/xml2.pdfhttp://www.tek-tips.com/gviewthread.cfm/lev2/4/lev3/29/pid/102/qid/526604