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 Fr...@eFunds.com on 2001/07/31 17:51:55 UTC

HTML Parsing

Hiya,

I am trying to parse some very ugly HTML, complete with missing closing
tags and non quoted attributes.

I have noticed a few HTML packages in xerces, but I can't make sens of
them.

Is there a class that I could use to parse HTML and build a proper DOM out
of it?

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org


Re: HTML Parsing

Posted by Edwin Goei <ed...@sun.com>.
Franck_Schmidlin@eFunds.com wrote:
> 
> Hiya,
> 
> I am trying to parse some very ugly HTML, complete with missing closing
> tags and non quoted attributes.
> 
> I have noticed a few HTML packages in xerces, but I can't make sens of
> them.
> 
> Is there a class that I could use to parse HTML and build a proper DOM out
> of it?

Sounds like you want an HTML parser which converts to XHTML.  Try Tidy
at http://www.w3.org/People/Raggett/tidy/

-Edwin

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org