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

New Post: Parse html based on classname with HtmlAgilityPack

Hello, I'm just getting started with HtmlAgilityPack and I could use some help. I'm not sure if what i want to do can be done with HtmlAgilityPack, though i search the internet for resources. I would...

View Article


New Post: How to dispose HtmlDocument?

I have a method that has a string param (html). I use it to construct HtmlDocument and query it. My question is do I need to dispose of HtmlDocument somehow? If yes, how? it does not implement...

View Article


New Post: How to auto close DD tags

I'm currently working on a project where the HTML is not well formed, the developer has forgot to close one of their DD tags before opening the next dd tag. In browser or for other tags this results...

View Article

New Post: Somebody can upgrade fizzler to support HtmlAgilityPack v1.4.6 ?

Somebody can upgrade fizzler to support HtmlAgilityPack v1.4.6 ? I downloaded Fizzler from http://code.google.com/p/fizzler/ , but I can't compile the solution with HtmlAgilityPack v1.4.6 now . 

View Article

New Post: XPath to select attribute

Hi, Same question than RaTT:  is there plan to integrate that in the NuGet deliverable? I have some generic code that take an arbitrary (.config) xpath expression, find the node and remove it.  I have...

View Article


New Post: Portable Class Library Project (Attempting) - Suggestions Request

Hi All,I'd really love to use htmlAgilityPack, but we're targeting mostly mono platforms and windows "garden" platforms like Windows Store and Win Phone 7.5 and 8.  So...I might  a stab at making a...

View Article

New Post: Flatten the document?

I need to flatten the document, is there a way at all to do that with the API?Like if the doc is this<div><div> text1</div> text2</div>It would just give me two text nodes...

View Article

New Post: How to load a file directly from the web?

Hey guys, maybe I am a little bit confused right now, but how can I manage it to get a html document directly from the web?Seems the HtmlDocument.load method only loads local files? Or do I have to use...

View Article


New Post: How to load a file directly from the web?

What I did was download the Html page using WebClient.DownloadString, then open it up using HtmlDocument.loadHtml, works fine.

View Article


New Post: HtmlWeb not loading a particular website

StackOverflow link for more details: http://stackoverflow.com/questions/13400493/htmlagilitypack-htmlweb-load-returning-empty-documentI've been a happy user of HtmlAgilityPack for 2 months with no...

View Article

New Post: MHT Read & Write

Hello,I've been using this excellent html parser for a little while now and recently I have a requirement for reading and writing mht files. I had to massage the mht before loading it up into the...

View Article

New Post: Unwanted completion

The HtmlAgilityPack is relatively new to myself but logically 'OptionsCheckSyntax=false' would work. The problem you seem to be running into is your use of '<' and '>' characters.These characters...

View Article

New Post: HTML5 support

Html Agility Pack should be able to parse HTML5 without any problems, so long as a logical structure expected of valid HTML is provided. After a quick look through the specification the only possibly...

View Article


New Post: Agility Pack Usage for Getting Content Between html tags

publicstring getContent(string webAddress){HtmlAgilityPack.HtmlWeb web =newHtmlAgilityPack.HtmlWeb();HtmlDocument doc = web.Load(webAddress);returnstring.Join(" ",...

View Article

New Post: System.Xml.Xpath error on window xp for Visual Studio 2008

I installed htmlagility pack and developed a new program but when I run the program. I have the following error.The type 'System.Xml.XPath.IXPathNavigableS' is defined in an assembly that is not...

View Article


New Post: Why can't I reliably extract links from nodes?

I'm looking at nodes that definitely contain links.  Sometimes I get the proper link by Node.Attributes["href"] but sometimes that's null and I can't see why it sometimes works and sometimes doesn't....

View Article

New Post: Kansas City Locksmith

Kansas City Locksmith is the best locksmith to come to you and unlock your vehicle or home/business. You have come to the right place because locksmith service in Kansas is undisputed the best in the...

View Article


New Post: not closing element properly

var sb = new StringBuilder("<html>\r\t<body>\r\t\t<select>\r"); sb.AppendLine("\t\t\t<option value =\"foobar\" selected=\"selected\">FooBar</option>");...

View Article

New Post: After initial SelectNodes(string) , html document in memory changed.

Hello , I would like to ask you guys some question about this problem. I wasn't sure if this is issue or not . So, I posted this on discussion. I currently try to parse each HtmlNode and it's xpath by...

View Article

New Post: HAP not working for Background Agents?

I have tried this twice so far but it seems that it is not able to run in the background.  Using this, I was able to verify that it does not go to DownLoadCompleted....

View Article
Browsing all 450 articles
Browse latest View live


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