This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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

Win a copy of Head First Android this week in the Android forum!
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: 2409
Normally I'd resort to a library like HtmlUnit, but I'm not sure if it runs on Android. Might be worth a try.
Don't get me started about those stupid light bulbs.
subject: How to parse XHTML using android
It's not a secret anymore!