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

New Post: target images within a particular div issue

from http://htmlagilitypack.codeplex.com/discussions/266083 //div[@class='col3']/p[2] select the second P, which parent it's a DIV with class='col3'

View Article


New Post: show page

how can i show this on a windows form c# site is megahits.fm and then click on "acabou de tocar" and then you will the box that i want o show and the two textboxes to insert time... here is a little...

View Article


New Post: Help pls

Hi, help me please. I have file - test.html (http://86.57.254.183/test.html) how me parse this table whith HAP? This table I parse whith another sait, but this table I can't parsing.   Sorry for my...

View Article

New Post: Selecting specific childs of childs of childs...?

Did you solved your problem?   I am facing the same problem where Descendants is not returning grandchildren nodes!!!! I am using now: var tds= doc.DocumentNode.DescendantNodes().Where(n =>...

View Article

New Post: Parsing out the TITLE tag of HTML pages

Hi guess I've created a simple demo app using the Agility Pack at: http://www.codeproject.com/KB/cs/ProgressViewModel.aspx http://www.codeproject.com/KB/WPF/MultiProgressViewModel.aspx Just thought...

View Article


New Post: SelectSingleNode return null...

code is: HtmlNode n = html.DocumentNode.SelectSingleNode("/html/body/div[@id=content]/table/tr/th/div/a");   when in debug, i manualy can found this node using ChildNodes from root. but, why XPath...

View Article

New Post: Line Incorrect?

Line 79 of NameValuePairList appears to be incorrect. Replaced with: string[] onep = pv.Split(new char[] { '=' }, 2);

View Article

New Post: SelectSingelNode returns null

Hello, I'm a beginner in using HtmlAgilityPack and XPath. I have download and install the Pack and the Pack Tester. Using the Tester I have gotten an XPath.   My problem is that in my code (see below)...

View Article


New Post: SelectSingleNode return null...

Hello,   You have missed the quotes around content!   If you use: "/html/body/div[@id='content']/table/tr/th/div/a" Then it should work! Just in case you haven't downloaded these two programs, you...

View Article


New Post: SelectSingleNode return null...

the reason was there i even dont try to look... big thanks, but it means that not all expressions that System.Xml.XmlDocument support are supported.(it works without quotes )

View Article

New Post: SelectSingelNode returns null

Ok, I have found the problem! This time it wasn't me!!! I have installed HtmlAgilityPack via NuGet and it installed version 1.4.3 This version has an error when handling tables! <!DOCTYPE html...

View Article

New Post: Webpage won't load in web.load method

I am trying to load a wepage using the following code but the process hangs and times out at the web.load    HtmlAgilityPack.HtmlWeb web = new HtmlWeb();         HtmlAgilityPack.HtmlDocument doc =...

View Article

New Post: Get data html tables with C#

Hi, I would extract the content in attribute class=topictitle, in my example, I want get "[IMPORTANT]" in a string variable . CODE : <td> <a title="Posté: Lun 23 Jan 2012 00:56"...

View Article


New Post: SelectSingelNode returns null

Same problem is valid for the list elements in revision 94773.

View Article

New Post: How to match the Text without the node?

Hello guys,       I have written an application to parse the html code in order to pick up the text from the html.I have use the HAP in my application and it works well at the first,And then I have...

View Article


New Post: SelectSingelNode returns null

I found that the table handling error is caused by different logic from 1.4 stable version. You can see that it is different on the searching name ( one is from parameter and one is _currentnode.Name)...

View Article

New Post: What is the default timeout for htmlagilitypack

Hello. I am using latest build of htmlagilitypack. I downloaded and run the build to get the dll file. Runtime version : v2.0.50727   Now i am using this method to load web pages   hdMyDoc =...

View Article


New Post: Gettin error with the Load Functionality

I saw the following code in one of the sites and tried it for my Windows Phone 7 project.               HtmlWeb web = new HtmlWeb();             HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();...

View Article

New Post: Warning: Argument type 'HtmlAgilityPack.HtmlNode' is not CLS-compliant

I'm passing an HtmlNode as a method argument, and getting the following warning: Argument type 'HtmlAgilityPack.HtmlNode' is not CLS-compliant My assembly is marked as being CLS compliant. I got rid...

View Article

New Post: Changing Phrases to Links

Hi. I have a SQL database containing the HTML for the pages in my site. I use ADO to pull this out and display it. I am in the process of developing a feature which allows me to replace certain phrases...

View Article
Browsing all 655 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>