i've searched in all over the network but i didn't find something helpfull for me:
i'd like to get all "third" elements: (simplified)
<div class="first">
<div class="second">
<div data-type="container" style="display: block;"> ==$0
<div class="third">
<div class="third">
<div class="third">
i'm actually using:
Elements rows = (doc.select("div.first div.second").select("[data-type="container"]")
for (Element row : rows){
System.out.println(row);
}
but my output is: <div data-type="container"></div>
event if i use:
Elements rows = (doc.select("div.first div.second").select("[data-type="container"]".select("div.third")
my output is empty.
seems that i cannot get into that data-type="container", is there a particoular method to do it?
thanks to all!