From 900a3bd456fc4129ba6ad2338f839072da304a24 Mon Sep 17 00:00:00 2001 From: Jonathan Magnan Date: Mon, 19 Jun 2017 21:24:52 -0400 Subject: [PATCH] Update index.md --- docs/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/index.md b/docs/index.md index 6edb35f9..c56c87a6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -269,7 +269,7 @@ var doc = web.Load(url);
C# HTML Selectors Examples
 // With XPath	
-var name = doc.DocumentNode
+var value = doc.DocumentNode
 	.SelectNodes("//td/input")
 	.First()
 	.Attributes["value"].Value;
@@ -532,7 +532,7 @@ var doc = web.Load(url);
C#HTML Selectors Examples
 // With XPath	
-var name = doc.DocumentNode
+var value = doc.DocumentNode
 	.SelectNodes("//td/input")
 	.First()
 	.Attributes["value"].Value;
@@ -611,7 +611,7 @@ var doc = new HtmlDocument();
 htmlDoc.LoadHtml(html);
 
 // Descendants	
-var nodes = doc.DocumentNode.Descendants("input")
+var nodes = doc.DocumentNode.Descendants("input");