Answer the question
In order to leave comments, you need to log in
How to pass same content from same HTML attributes using Jsoup?
I am new to programming, please help.
There is a parsed web page, part of the code looks like this:
Elements elements = doc.getElementsByClass("ClassName");
elements content:
<div class="ClassName01"> Text01 </div>
<a class="ClassName02" href="URL.q01" title="Text02"> <i class="iconA"></i> <span>Text03</span> </a></div>
<a href="URL.p01" class="ClassName03" data-user="111"> <img class="ClassName04" width="30" height="30" alt="Text04" src="URL"> </a>
<a href="URL.q02" class="ClassName05">Text05</a>
<div class="ClassName06"> <a href="URL.p01" class="ClasName07">Text06</a>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question