You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Edwin Goei <Ed...@eng.sun.com> on 2000/10/01 09:07:06 UTC

Re: Creating DOM from SAX events

"Roytman, Alex" wrote:
> 
> Sorry for a stupid question but I can't find a way to produce DOM from SAX
> events.

The org.apache.crimson.tree.XmlDocumentBuilder class does this.  The
code is in the /xml-contrib repository.  Also, you might want to look at
JDOM http://www.jdom.org which will build a JDOM tree and I think you
can also translate that into a DOM tree.  Also, I think Alfred 2 also
can build a DOM2 tree from SAX2 events.

-Edwin