DocumentHandler with xml4j DOMParser

Jonathan Borden jborden at
Fri Mar 12 00:44:34 GMT 1999

Perhaps the confusion is this:

A DocumentHandler is a SAX concept, not a DOM concept. The DOMParser
contains a DocumentHandler that builds a DOM tree from the source document.
If you are working with the DOM, then you will parse the document and then
access its members through the DOM interfaces. If you would rather process
using an event based interface, then use SAX directly i.e. the SAXParser.

Jonathan Borden

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
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