relation between DOM, SAX, and Schema?

David Brownell db at Eng.Sun.COM
Sat Nov 28 17:43:22 GMT 1998

"Mark D. Anderson" wrote:
> 1. Is the difference between DOM and SAX one of programming
> style only (implementation efficiency aside)?

In addition to David Megginson's points, I'll point out that
DOM supports providing more information than SAX exposes.  

There are reasonable arguments to be had about how useful that
additional information is, really -- comments aren't supposed
to hold information used by a program, as one example, though
it's reasonable to let programs emit commented XML.  (Not that
DOM level 1 lets you emit XML! :-)

- Dave

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list