commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Price <>
Subject [OT] SAX & DOM was: digester + DOM
Date Wed, 26 Feb 2003 16:08:54 GMT

James Strachan wrote:
> Rather than using JTidy to parse HTML (which makes a DOM) you could use
> NekoHTML which is-a SAX parser that can handle HTML. Then you don't need to
> use a DOM.

Sorry to hijack a thread like this, but I was curious -- if you're 
building an in-memory representation of an XML document, is there still 
a compelling reason to use a SAX parser?  Or should you just use DOM in 
that case.

I haven't really done much with XML parsing and was wondering about this.


View raw message