issue in Html parsing in C#
See the question and my original answer on StackOverflowSomething like this in a sample Console Application:
HtmlDocument doc = new HtmlDocument();
doc.Load("C:\\sampleHtml.html");
foreach (HtmlNode node in doc.DocumentNode.SelectNodes("//div"))
{
Console.WriteLine(node.GetAttributeValue("isEnabled", null));
}
will dump all the value of the isEnabled attribute.