c# - Get innerText value from html node -
i using htmlagilitypack,
however in following html-
<div class="first"> inner text <strong><a href="url"> text </a></strong> <br> inner text <strong><a href="url"> text </a></strong> <br> <span class="second"> inner text <strong><a href="url"> text </a></strong></span> <br> inner text <strong><a href="url"> text </a></strong>
i having difficulty extracting inner text
values not nested in own node. can href
values, need corresponding text values before them, each link, have text before it.
i have tried using previoussibling.innertext
results came null.
Comments
Post a Comment