Wong Kok Wai wrote: > > There is a HTML parser in Swing/JFC. It is also event-based but not SAX. > Another bad news is the > parsed object tree is not DOM-based. > > Rajiv Mordani wrote: > > > The xhtml parser from Sun is an internal only version which will be made > > available for Apache as soon as the licensing issues are cleared. > > > > - Rajiv > >
The XHTML parser Rajiv is talking about is based on the Swing/JFC HTML parser. I believe it constructs a DOM tree while parsing HTML and then writes out the DOM tree as XHTML.