how to get node children with html flexibility package?
var Webget = new HtmlWeb();
var doc = Webget.Load(url);
HtmlNode elementbyId = doc.GetElementbyId("nome");
I just need to take the internal node in <div id="nome">
html:
<div id="nome">
<p>
<strong></strong>
</p>
<br/>
<span>
<strong></strong>
</span>
<p>
<span></span>
</p>
</div>
update:
I wrote the following code, but it is wrong.
var nodes = elementbyId.Descendants();
this code Get all the elements inside <div id="nome">
Is there any way to solve the problem? I have no idea
source
share