Reputation: 287
<h3>2.2 Header Text</h3>
<dl>
<dd>Text 1</dd>
</dl>
I have the following html code and i need to get the text between the "dd" element where the h3 tag above it contains the text "2.2".
For now I have tried the following xpath to find the h3 tag that contains this text
//h3[contains(text(),'2.2')]
but I can't figure out how to get the elements below in order to get the dd element. How could i achieve that?
Upvotes: 1
Views: 1004