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

New Post: SelectNodes to return empty HtmlNodeCollection if no matching node...

Then use the LINQ interfaces of Descendants and Elements. SelectNodes matches the .NET System.Xml API for which it was built upon. I agree this should be overhauled to return an empty list but the fact...

View Article


New Post: Removing element by class

I'm sure Dave is passed his problem, but I was hitting this tonight and I eventually found a solution.  Posting to help others: Here's what worked for me to remove an element using its class:...

View Article


New Post: Remove the HTML tags from a string using Html Agility Pack

I want to remove the html tags that are coming in a string. How can I do this by using HTML Agility Pack?

View Article

New Post: Can this be used in windows phone 7

My project notices me that I need reference the System.Xml 2.0.0. However. I have referenced System.Xml 2.0.5. It seem like that they are not compatible

View Article

New Post: Getting Style Attributes

I'm also facing the same issue.

View Article


New Post: Getting absolute links instead relative ones

Can someone write down the complete as to how the final code will look like. 

View Article

New Post: I have recompiled entire project to .NET 4.0...

But don't know how to upload using TFS.  I think someone needs to grant me ability to upload.

View Article

New Post: I have recompiled entire project to .NET 4.0...

Hi, I am interested in it. Can you send the dll to me by email?

View Article


New Post: I have recompiled entire project to .NET 4.0...

The information contained in this e-mail may be confidential and is intended solely for the addressee. Unauthorized access, disclosure, copying, distribution or other action taken or omitted relying...

View Article


New Post: Attribute Value quotation correction

I notice with the HAP, that it doesn't seem to correct quotations if you do something like say...   <table id="Table" align="center" cellpadding="0" cellspacing="0" width="630px"...

View Article

New Post: Cannot get all input, textarea, option of form

Hi all I want to get get all input, textarea, option of http://diendan.yeutretho.com/register.php form but it return null. This is my code HtmlAgilityPack.HtmlWeb web = new HtmlWeb();...

View Article

New Post: Any way to associate HtmlAgilityPack classes with .NET Html classes?

I apologize for reviving an old topic, but did anybody manage to achieve this?

View Article

New Post: Any way to associate HtmlAgilityPack classes with .NET Html classes?

The only thing I can think of is generating a GUID for each element and assigning it to a custom attribute such as "data-my-custom-attribute", which is kinda what jQuery does to keep track of elements....

View Article


New Post: Any way to associate HtmlAgilityPack classes with .NET Html classes?

 Like in any other programming thing ... you need the idea, everything else is simple. THANKS FOR THE IDEA! Actually things are a lot simpler right now.    Let's say you have HTMLElement <div...

View Article

New Post: Metro version and SelectNodes

Hello! I'm trying to do several tests on the version for Metro applications. Much of the code I used so far is valid and that I miss in class HtmlNode SelectNodes method. How can we select the...

View Article


New Post: Cannot get all input, textarea, option of form

You can use this open source project to resolve this issue. http://sgmleskulapnet.codeplex.com/

View Article

New Post: Metro version and SelectNodes

Use Descendants() functions. Will have to use LINQ methods to do querying. Unfortunately WinRT does not include any implementation of System.Xml.Xpath. Unlike Windows Phone the Silverlight 4...

View Article


New Post: Cannot get all input, textarea, option of form

To allow form to have child elements use the modify the HtmlNode.HtmlElements collection and remove the "form" item. ElementsFlags.Remove("form")

View Article

New Post: I have recompiled entire project to .NET 4.0...

HAP has always worked in 4.0. Now there is an official 4.0 project in the source code and a 4.0 build included in the latest Nuget package

View Article

New Post: Attribute Value quotation correction

Actually, I agree it should handle/fix things like this. I'll add it to the list of parsing engine things to look into.

View Article
Browsing all 655 articles
Browse latest View live


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