New Post: Count size of loaded content, or preferably transferred size
Hello! First of all, thanks for a great piece of software! Neat and powerful! I use it for a quite specialized web spider that parse selected info from a site of mine. My use of HTML Agility Pack is...
View ArticleNew Post: Count size of loaded content, or preferably transferred size
Of course I came up with one possible solution just after I posted this. Using System.Net namespace, I can download the web page as a string before passing it on to HTML Agility Pack:var wc = new...
View ArticleNew Post: How to parse special characters
Those worked for me:http://stackoverflow.com/questions/6665488/htmlagilitypack-and-htmldecodehttp://stackoverflow.com/questions/3452343/c-sharp-and-htmlagilitypack-encoding-problem (UTF-8 was one, the...
View ArticleNew Post: SelectNodes to return empty HtmlNodeCollection if no matching node...
Returning null is the most non-intuitive thing that could be done. Under what circumstances is an empty collection fundamentally different than null?
View ArticleNew Post: using htmlagilitypack with ajax div load c#
Visit Website: http://viendongshop.vn and http://dienlanhgiakhang.com
View ArticleNew Post: using htmlagilitypack with ajax div load c#
I aslo have a same problem and now I can not past some code to my website "http://onaplioa.com.vn/trang-chu.aspx". I think that in here some one can help to show for me where I can past more code about...
View ArticleNew Post: Getting No Source available Error - There no source code available...
I am the beginner and trying to read an HTML page ( .htm page) , which is on my local drive using HtmlAgilityPack in C#. Here are the things which i did.Using Visual Studio 2012, first i installed...
View ArticleNew Post: Getting No Source available Error - There no source code available...
I'd say it could be this line of code string FileName = "\\MYPC\Users\Desktop" + fileName; you are missing a back slash between Desktop and filename. so it's trying to load file Desktopabc.htm
View ArticleNew Post: Getting No Source available Error - There no source code available...
Hi LeeJeary, Thanks for your response. Anyway here is what exactly happening. When my debug pointer going to HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument(); line in the code it...
View ArticleNew Post: Getting No Source available Error - There no source code available...
I think this is just a red herring.. did you try changing the path like I mentioned?
View ArticleNew Post: Getting No Source available Error - There no source code available...
Hi Lee, Here is the FileName full path. I am not sure this is an issue, as the file path in filename variable is showing as below."C:\Users\sunil\Desktop\Test\corporate-failed-201429080908.html" Here...
View ArticleNew Post: Getting No Source available Error - There no source code available...
Normally the reason for this is that you have the HtmlAgilityPack.pdb and HtmlAgilityPack.dll files included in the project and thinks that you are able to debug the dll using source code from your...
View ArticleNew Post: Getting No Source available Error - There no source code available...
Hi Lee, thanks. got it. yes, its the file path issue. there is some permissions issue on that folder, we fixed it and it got resolved now. thanks for u r help. Sunil P
View ArticleNew Post: Parse inner HTML tables to a DataTable issue from a web page
Hi All, I need to parse inner HTML tables from a web page and I am using HTML Agility pack for it. Here is my HTML table and C# code. Here is the issue. I have 3 Inner HTML tables. 1st Inner table - 3...
View ArticleNew Post: issues while using HTMLagility pack
I tried using HTMLagilitypack but the api seems to have get changed and many properties and functions under that api is not working. for eg. string text =...
View ArticleNew Post: Unknown error caused by HtmlAgility pack
Hi I have this code on a Universal App (Windows 8.1 and Windows Phone 8.1) on the "Shared" part of the project HtmlWeb htmlW; public async Task<Dictionary<string, string>>...
View ArticleNew Post: Get exact unicode tring from website
I want to get Port Code,Port Name ,Country from this page:http://www.infodriveindia.com/traderesources/port.aspx?&GridInfo=Ports010 This's my code: WebRequest objWebRequest =...
View ArticleNew Post: Chinese language/Character support in HAP
Hi , I want to know if chinese character are supported in HAP. I am using it from RTF to HTML conversion. It is working properly for English language. now when I am entering some chinese character like...
View ArticleNew Post: Html parse for Windows Phone 8.1
I'm trying to create a wp 8.1 application that takes a web page content. My problem is that xpath doesn't seem to work for WP8.1, so i'm trying to use LinQ, but i don't understand it very well. The...
View ArticleNew Post: Will Multiple tags through the parser off?
Basically I am to select certain elements, like //table[2], but I cannot specify any indexes as it returns a null element. I am wondering if having multiple <html> tags could be the issue. In...
View Article