File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Android and the fly likes How to parse XHTML using android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to parse XHTML using android " Watch "How to parse XHTML using android " New topic

How to parse XHTML using android

Osama Mohammed Shaikh

Joined: Mar 08, 2012
Posts: 4
How to read an XHTML in android. Are there any particular API available. Actually I am building an application i.e. an online mode dictionary. It will typically fire a query, a HttpRequest, containing a uri to a website....Now, the response which comes from the website will be in XHTML. So, could you suggest me any feasible remedy. Especially, how to obtain an element by class name.
Tim Moores

Joined: Sep 21, 2011
Posts: 2413
Normally I'd resort to a library like HtmlUnit, but I'm not sure if it runs on Android. Might be worth a try.
I agree. Here's the link:
subject: How to parse XHTML using android
It's not a secret anymore!