Quantcast
Channel: htmlagilitypack Forum Rss Feed
Browsing all 655 articles
Browse latest View live

New Post: The type or namespace name 'HtmlAgilityPack' could not be found

Hello,   I am getting this same error and I have checked and implemented your solution above but the error is still there. It would really help if you could please advise.   Compiler Error Message:...

View Article


New Post: Problem with Page.DownloadImage

The following code worked fine with Wikipedia several months ago.  It now throws a 404 exception during the DownloadImage call.  I have tried several things to fix it but with no success.   Could...

View Article


New Post: how can i get all sibling ul

<h3 class="my-subject">a</h3> <ul class='ex'>....</ul> <ul class='ex'>....</ul> <ul class='ex'>....</ul> <ul class='ex'>....</ul> <ul...

View Article

New Post: Can only load xml document from file system, not from web

Probably much too late to help you, but I ran into this problem as well.  I will post what I found in the hopes of helping others than come across this. In HtmlWeb.cs I added the bold part:   private...

View Article

New Post: Code suggestion: Override ToString() in HtmlDocument

I had to do some digging to figure out how to save the modified HTML document as a string, and I've seen a few other posts on the web asking the same question. It would be great if you could provide...

View Article


New Post: having an error

I am trying to test this pack but at this line foreach (HtmlNode link in doc.DocumentNode.SelectNodes(@"//a[@href]")) I receive this error "Object reference not set to an instance of an object." Here...

View Article

New Post: Parse table in HTML Agility Pack for WP7

I have following HTML: <table cellspacing="8" cellpadding="6" border="1" style="color: Black; background-color: LightGoldenrodYellow; width: 60%;" id="GridView2" rules="all"> <tbody>...

View Article

New Post: Parse table in HTML Agility Pack for WP7

Can you please give more information what do you want?  

View Article


New Post: having an error

It seems like you might not checking null before executing the above line if (doc.DocumentNode.SelectNodes(@"//a[@href]" != null){     foreach (HtmlNode link in...

View Article


New Post: having an error

I tried to use it like this if (doc.DocumentNode.SelectNodes(@"//a[@href]" != null)) //I've put the code you've written here { // And and now queue up all the links on this page foreach (HtmlNode link...

View Article

New Post: No child nodes for FORM objects

VikciaR wrote: In Html specification form tag can overlap, so Htmlagilitypack handle this node a little different.  So what you can do: HtmlNode.ElementsFlags.Remove("form"); Thanks this worked!

View Article

New Post: convert htmlagilitypack node to htmlelement .net

I have just used htmlagilitypack to extract all link as htmlnode from an html document, but i need this returned from my function as htmlelement Dim Tags As HtmlNodeCollection =...

View Article

New Post: "//div[@id='resultStats']" Error

hi everbody. i want to get the google resultstas div. but i dont. i take error "Object reference not set to an instance of an object."   my code: var doc = new...

View Article


New Post: problem : using htmlagilitypack with c#

problem : using htmlagilitypack with c# problem : using htmlagilitypack with c# I can not use the [ htmlagilitypack with c# ] to enter page protected with username and password. if i use that code...

View Article

New Post: ArgumentOutOfRangeException in HtmlNode

That's worked here, no more exception:                     //Just empty the doc object                                        doc = new HtmlAgilityPack.HtmlDocument();...

View Article


New Post: Next release date

Hi When is the next release planned for HAP? I've heard talk of version 2.0, but it sounds this may be a long way off. Is there a 1.5.0 release planned including bug fixes for 1.4.0? Thanks Neil.

View Article

New Post: SelectNodes return

I have te following:  foreach(HtmlNode link in doc.DocumentNode.SelectNodes("//tbody/tr/td")  Console.WriteLine(link.InnerText); It is currently printing all the information on the table from the...

View Article


New Post: winrt version

Can we have a version of the agility pack thats works for metro apps windows 8?

View Article

New Post: winrt version

simonmicheal wrote: Can we have a version of the agility pack thats works for metro apps windows 8? +1 It would be great to have that library for metro apps.

View Article

New Post: HAP cannot download DOM?

I have problem downloading a page, for example google search result. I can't get HAP to download the full page generated by javascript, instead, I only get the result as I click view source in my...

View Article
Browsing all 655 articles
Browse latest View live