• Post Reply Bookmark Topic Watch Topic
  • New Topic

Parsinng HTML  RSS feed

 
Bhoomika Bathla
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to parse.Sample Of html is shown below. I just want to retrieve those href tags that are under div tag with class a myclass.How should i proceed?Which API shoul be used to parse HTML.I have used HTMLEditorKit but i cannot make how to perform such a task using that.Can anyone please provide sample code to find the hrefs that are inside div tag with class="myclass" as attribute



Thanks
 
prem pillai
Ranch Hand
Posts: 87
Java Opera
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!