Jul 1, 2012 at 11:19 PM
Edited Jul 1, 2012 at 11:19 PM
I need to select an node by its value.
This is my HTML source:
<!-- blank TD from Windows rowspan -->
<a onclick="onDownload(this)" id="win-sdk" href="http://dl.google.com/android/installer_r20-windows.exe">installer_r20-windows.exe</a> (Recommended)
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?