Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMagnan authored Jun 20, 2017
1 parent eb18156 commit 900a3bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ var doc = web.Load(url);</pre>
<div class="example-box-header"><span class="heading">C# HTML Selectors Examples</span></div>
<pre>
<span class="code-green">// With XPath</span>
var name = doc.DocumentNode
var value = doc.DocumentNode
.SelectNodes("//td/input")
.First()
.Attributes["value"].Value;
Expand Down Expand Up @@ -532,7 +532,7 @@ var doc = web.Load(url);</pre>
<div class="example-box-header"><span class="language">C#</span><span class="heading">HTML Selectors Examples</span></div>
<pre>
<span class="code-green">// With XPath</span>
var name = doc.DocumentNode
var value = doc.DocumentNode
.SelectNodes("//td/input")
.First()
.Attributes["value"].Value;
Expand Down Expand Up @@ -611,7 +611,7 @@ var doc = new HtmlDocument();
htmlDoc.LoadHtml(html);

<span class="code-green">// Descendants</span>
var nodes = doc.DocumentNode.Descendants("input")
var nodes = doc.DocumentNode.Descendants("input");
</pre>
</div>
Expand Down

0 comments on commit 900a3bd

Please sign in to comment.