I'm trying to get this element from part of a html page. Below is the snippet of html code from the webpage html: [code] 7,646.16
[/code] The element I'm trying to get is the 7,646.16 figure. below is what I have attempted to do: [code]using (WebClient client = new WebClient()) { string html = client.DownloadString(url); HtmlDocument htmlDoc = new HtmlDocument(); htmlDoc.LoadHtml(html);
try { foreach (var node in nodes) { Console.WriteLine(node); } } catch { Console.WriteLine("Failed Process"); } } } [/code] What I want it to do is extract that element (the 7646.16) and display that on the console.