Jul 1, 2012 at 11:19 PM
Edited Jul 1, 2012 at 11:19 PM
|
Hello guys!
I need to select an node by its value.
This is my HTML source:
<tr>
<!-- blank TD from Windows rowspan -->
<td>
<a onclick="onDownload(this)" id="win-sdk" href="http://dl.google.com/android/installer_r20-windows.exe">installer_r20-windows.exe</a> (Recommended)
</td>
<td>70497095 bytes</td>
<td>0f25321554e2f88b247320d6a3bc1a7a</td>
</tr>
I took it from Android SDK download page. I need to parse the link of this node, but there are 2 other nodes named "ID".
The only code I have so far is:
HtmlNodeCollection a = Links.DocumentNode.SelectNodes("//a[@id]")
I was trying to figure out by my own, reading the documentation, but I didn't found anything that led me to accomplish this. Can somebody help me?
|