I'm trying to scrape a webpage using xpath (HtmlAgility pack) and I can't figure out how to retrieve the text immediately after the </a> tag.
<a>This is text</a> I want to grab this text.
The web site basically has a single large blob of text in a single container and it uses <br><a> tags seperating content I want to extract. I have no problem getting the <a> tag text using "./a" as xpath. I just can't seem to figure out how to reference the text immediately after.
I tried "./following-sibling", but I get null back. ".child" but that come back null too.
Thanks!
I'm trying to scrape a webpage using xpath (HtmlAgility pack) and I can't figure out how to retrieve the text immediately after the </a> tag.
<a>This is text</a> I want to grab this text.
The web site basically has a single large blob of text in a single container and it uses <br><a> tags seperating content I want to extract. I have no problem getting the <a> tag text using "./a" as xpath. I just can't seem to figure out how to reference the text immediately after.
I tried "./following-sibling", but I get null back. ".child" but that come back null too.
Thanks!
(post is archived)