FSharp.Data icon indicating copy to clipboard operation
FSharp.Data copied to clipboard

Any way to get siblings of HtmlNode?

Open hmgibson23 opened this issue 6 years ago • 1 comments

I'm filtering out some dt nodes in html based on their text and then want to get the next sibling of the node that gets returned. I see that HtmlNode doesn't have a NextSibling attribute but maybe I'm missing something?

For example, given this html:

<dt>Address</dt>
<dd>A special place</dd>

I want to get the dd element with the text A special place and the node I have is the dt element one.

Any help is appreciated.

hmgibson23 avatar Nov 05 '19 16:11 hmgibson23

@hmgibson23 May be best to ask on stackoverflow, F# questions get answered pretty quickly there

dsyme avatar Nov 28 '19 13:11 dsyme