Another one you could try is HTML Cleaner (http:// htmlcleaner.sourceforge.net/).
I've made a few applications already that references this library and it even supports XPATH to parse the HTML source If you'd like to see some code snippets then let me know and I can show you some. - jwei http://thinkandroid.wordpress.com On Jan 2, 1:36 pm, tlegras <tleg...@gmail.com> wrote: > ok thanks i am trying nekohtml and currently trying to make it run but > with the minimal sample code (so using only provided > xercesMinimal.jar) i got this exception in my parse() function: > > E/AndroidRuntime( 765): Uncaught handler: thread Thread-10 exiting > due to uncaught exception > E/AndroidRuntime( 765): java.lang.ExceptionInInitializerError > E/AndroidRuntime( 765): at org.cyberneko.html.HTMLScanner > $ContentScanner.scan(HTMLScanner.java:2043) > E/AndroidRuntime( 765): at > org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:907) > E/AndroidRuntime( 765): at > org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499) > E/AndroidRuntime( 765): at > org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452) > E/AndroidRuntime( 765): at > com.tlegras.freeboxrec.AddRecordingThread.run(AddRecordingThread.java: > 231) > E/AndroidRuntime( 765): Caused by: java.lang.IllegalStateException: > Failed to create XercesBridge instance > E/AndroidRuntime( 765): at > org.cyberneko.html.xercesbridge.XercesBridge.makeInstance > (XercesBridge.java:59) > E/AndroidRuntime( 765): at > org.cyberneko.html.xercesbridge.XercesBridge.<clinit> > (XercesBridge.java:32) > > Still invistigating, I will give feedback. > > Thanks, > Thierry. > > On 2 jan, 19:29, Frank Weiss <fewe...@gmail.com> wrote: > > > > > Check nekohtml. I haven't tried it on Android yet, but used it several times > > on desktop for screee > > > On Jan 2, 2010 8:36 AM, "Kumar Bibek" <coomar....@gmail.com> wrote: > > > 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 <tleg...@gmail.com> wrote: > Happy new year world > > :) > > I want to parse... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en