i would like to traverse all nodes in a documnet using HtmlAgilityPack will
foreach (HtmlNode node in myhtml.DocumentNode.SelectNodes("//@"))
do?
i would like to traverse all nodes in a documnet using HtmlAgilityPack will
foreach (HtmlNode node in myhtml.DocumentNode.SelectNodes("//@"))
do?
You can just loop through myhtml.DocumentNode.Descendants()
.