So, at the moment I’m using Xpath to retrieve the text from blockquote tags, but I need to be able to select SPECIFIC blockquotes.
The only difference between the two types I need is that they are directly after spans.
Let’s say I need to get text1 and text2 from each other, this would be the HTML:
<span id="1">some code here</span>
<blockquote>text1</blockquote>
more code in here
<span id="2">some code here</span>
<blockquote>text</blockquote>
How would I go about doing this?
I would use:
This will get all the wanted blockquote elements.
To get the text nodes: