sax - 2 - dom

Ronald Bourret rbourret at
Wed Aug 4 10:40:45 BST 1999

Mark Cheek wrote:

> does anyone know if there are any java packages out there that offer
> SAX-2-DOM conversions?  I am parsing my XML with the SAX interface, but
> I need to read the majority of the xml into a DOM Document object for
> creating my DOMTree, keeping track of modifications, and serializing my
> Document back into an xml file.   all tips are appreciated!

If you are using DOM, why do you need to use SAX at all? Do you do some processing at the SAX event level and then reissue the events for building the DOM tree?

-- Ron Bourret

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