Reputation: 1833
I have this html
<td>
<p> text <p>
<p align="left"> some text <a href="">link</a> text and other staff </p>
<p> text <p>
<p> text <p>
<p> text <p>
<p> text <p>
</td>
How i can get all <p>
after <p align="left">
?
I write this xpath for getting <p align="left">
, but how i can select all p
elements after it?
//td/p[@align="left"][last()]
Upvotes: 5
Views: 4296