Results 1 to 10 of 39
Threaded View
-
6th Jul 2010, 12:41 PM #28Respected Developer
What is there to learn about:
Code:var html = new HtmlDocument(); // load the html html.LoadHtml(yourHtmlHere); // use XPath to select all "A" elements from the html var anchors = html.DocumentNode.SelectNodes("//a"); // filter out those that start with http var filter = from a in anchors where a.GetAttributeValue("href", "").StartsWith("http") select a;
It's just loading a dll and calling a few methods. I don't see what needs to be learned here. What you're doing right there is the wrong way to do it and I wouldn't be surprised if I see you making another topic because suddenly something stopped working or your program crashes.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
extracting data from diffrent site
By zebono2 in forum Web Development AreaReplies: 1Last Post: 28th Jul 2012, 06:22 AM -
C++ string search help needed
By googleplus in forum Web Development AreaReplies: 0Last Post: 12th May 2012, 04:42 PM -
How to recover deleted or lost data, file, photo on Mac with Data Recovery software
By Jack20126 in forum General DiscussionReplies: 0Last Post: 20th Dec 2011, 03:37 AM -
php string - heredoc syntax
By desiboy in forum Web Development AreaReplies: 3Last Post: 16th Nov 2010, 05:15 PM -
[c#] Get String In between strings
By jayfella in forum Web Development AreaReplies: 3Last Post: 16th Jun 2010, 11:23 PM
themaManager - edit and manage...
Version 4.18 released. Open older version (or...