I guess you need to use a special HTML parse. Since, HTML pages are
not well-formed and are not XML compliant, using an XML parser will
not serve your purpose.

Search for any third party libraries.

Thanks and Regards,
Kumar Bibek

On Jan 2, 8:05 pm, tlegras <[email protected]> wrote:
> Happy new year world :)
>
> I want to parse an html page downloaded from a web server and have
> pretty much trouble with that.
> I am trying with saxparser, is there any better solution?
>
> With sax i am trying to preprocess the page to make it xml compliant
> (replace <br> with <br />), but i still have some troubles because of
> errors in the page (a couple of mismatched tags and "&" in attributes
> value iso &amp;).
>
> Is there any way to make sax parser ignore these errors and keep on
> parsing? i tryed to use ErrorHandler interface, but i could not catch
> anything.
>
> Any help would be welcome.
> Thierry.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to