New Post: Port HtmlAgility Pack to Metro App
Hello darthobiwan, Thanks for your replay and advise. This process may take time for me to complete. Regards, Krish
View ArticleNew Post: Problem with pack 1.4.5
hi, I downloaded the build 1.4.5 and put the .dll file in my bin\debug folder, added a reference the HtmlAgilityPack.dll to my project. Meanwhile, the following code produces the message: "Unreachable...
View ArticleNew Post: Getting Style Attributes
Simple soution is to: 1. find the element 2. find the style attribute 3. do a string split of the attribute value on ';' (semicolon) -> array 4. iterate the array, splitting each item on ':' (colon)...
View ArticleNew Post: Case insensitive?
queries are sensitive, but node names aren't that's why you have to do 3 queries for "url", "Url", "URL" when doing //meta[contains(@content, 'url')] I can confirm that META, CONTENT, A and HREF are...
View ArticleNew Post: On Windows Phone
For the benefit of others. This should be included in the docs somehow. I used NuGet to install Html Agility Pack into my Windows Phone project and it added HtmlAgilityPack.dll as a reference....
View ArticleNew Post: Not compatible with .Net 2.0
Hi, I have the same problem here integrating the current 1.45 binaries in an .NET 3.5 Application. dotPeek also shows the assembly as 4.0. Maybe your .targets broke?
View ArticleNew Post: Not compatible with .Net 2.0
I've the same problem. Currently working on a .net 2.0 Projekt.I'm in an urgent need to it. Does older versions work with .NET 2.0?
View ArticleNew Post: The type or namespace name 'HtmlAgilityPack' could not be found
i have the reference and am having the same problem....not sure why, it seems it should be easy , i am now using vs 2010, i have tried 2008 with not luck either
View ArticleNew Post: stack overflow in loadhtml
I have the same issue on a multi-threading windows service -> after days of debugging with help of windbg found the source of the problem to exact same endpoint htmlDocument.LoadHtml(stringInput);...
View ArticleNew Post: Manipulating isolated HTML nodes outside of document
Hi folks Can anybody give me an idea if Html Agility Pack would be the right way to go for an issue I need to solve? I have isolated fragments of HTML code, stripped out of a page as <p> nodes...
View ArticleNew Post: Encoding
Hi all! Having the same problem as described by rmoritz above. Tried the workaround hemp suggested but with special characters like æ ø å etc. still getting converted to ?. After some searching through...
View ArticleNew Post: Remove element, but not innerHtml
<ul> <removeThis> <li> <a type="link"> <img alt="" /> </a> </li> </removeThis> </ul> if i wanted to remove that element how would i do it?
View ArticleNew Post: Getting absolute links instead relative ones
Works soft and smooth: public List<Uri> getLinks() { var linksOnPage = from lnks in doc.DocumentNode.Descendants() where lnks.Name == "a" && lnks.Attributes["href"] != null &&...
View ArticleNew Post: Select encoding/charset on Windows Phone
Using HAP 1.4.6 on Windows Phone 7.0. Non-ASCII characters getting garbled. How can I set the encoding in the *Async methods? AutoDetectEncoding/OverrideEncoding seem not available on Windows Phone....
View ArticleNew Post: Select encoding/charset on Windows Phone
OK found the answer. Looks like Silverlight only supports utf-8/utf-16 out of the box, so you have to write your own encoding support. (generate with...
View ArticleNew Post: Couple questions about Html Agility Pack - Sanitize Html
Hi folks! I have couple questions, hope you all help me. 1)Html Agility Pack closed all unclosed tags, can i'm change this behaviour? i mean: <someTag class="qwerty"> <b...
View ArticleNew Post: Success with MixedCodeDocument (aspx or ascx)?
one year later. I have the same question :Dcan you help meeeee
View ArticleNew Post: Gettig Htmlelement based on HtmlAgilityPack.HtmlNode
I am able to find Html Node using following code in HtmlAgility Document. But after getting the HtmlNode, I want to retun the corresponding System.Windows.Forms.Htmlelement(Webbrowser). Please help me...
View ArticleNew Post: Malformed HTML parsing problem - unclosed li element within a form
Hi Community, I am working on an HTML parsing related utility. During this work HTML Agility Pack is helping me so much. I am just having a problem, in parsing some html content which is malformed. I...
View Article