New Post: No child nodes for FORM objects
i am also facing same problem even "HtmlNode.ElementsFlags.Remove("form");" did not help me , all i am getting is just form starting tag nothing else , input fields are directly under the form tag...
View ArticleNew Post: Help Locating This Table Please
Hi Please can someone show me where I'm going wrong, I cant get the path correct to get the table data. I'm looking to get table rows and data from sTable. sTable actually appears twice on the page. I...
View ArticleNew Post: Help Locating This Table Please
Here is what I have: using System; using System.Collections.Generic; using System.Linq; using System.Text; using HtmlAgilityPack; using System.IO; namespace HTMLParseExample { class Program { static...
View ArticleNew Post: Help Locating This Table Please
Hi Macster This is totally awesome.. many thanks. I've just got back been away for the weekend. Will test the above code tonight, you really should see the smile on my face, this twisted my brain for...
View ArticleNew Post: ARM Binaries?
Is there any plan to post a binary for WinRT/ARM? Alternately, are there instructions for including the project source in a solution to build properly for ARM? I think I have it working, but would...
View ArticleNew Post: ARM Binaries?
WinRT Binaries are already posted. Check the"winrt45" folder in the downloads. Also you can just use the nuget package and it should auto reference. I haven't tested on ARM since I have no devices to...
View ArticleNew Post: ARM Binaries?
Note if you're looking to use HAP in HTML/JS or C++ projects, that may never happen. If it does it may look quite different. The issue is to make a full WinRT compatible module (winmd) all classes...
View ArticleNew Post: ARM Binaries?
This is in a C#/XAML app. It wasn't clear whether the binary provided would work on ARM (it may have), but including the HtmlAgilityPack.Metro project in the app seemed to work ok. For HTML/JS, you've...
View ArticleNew Post: Remove element, but not innerHtml
Good luck var Content = doc.DocumentNode.SelectSingleNode(@"//ul") ; var remcontent = doc.DocumentNode.SelectSingleNode(@"//removeThis"); remcontent.Remove();
View ArticleNew Post: stack overflow in loadhtml
i never get any error with this, maybe its will help to you. Goodluck public static string GetURLData(string URL) { try { HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(URL);...
View ArticleNew Post: How can select a div with classname contain "post"
hi, i want to select a div which its contain "post-1", "post-2", "post-3" is there any chance for me ? <div id="post-405" class="post-405 post type-post status"> <div id="post-105"...
View ArticleNew Post: ARM Binaries?
Actually, now I can confirm that the DLL available for here does work on ARM.
View ArticleNew Post: How can select a div with classname contain "post"
I'd recommend using the LINQ compatible functions var results = doc.DocumentNode .Descendants("div") .Where(x=>x.Attributes.Contains("class") &&...
View ArticleNew Post: Select value in tr tags..
hi, i need help with parse a value in tags, this my html: <TD class="data"-firstline-alignleft onclick="onFilter('CallerOrg');">My Value 1</TD> <TD class="data"-firstline-alignleft...
View ArticleNew Post: Unwanted completion
Hi, I am using HtmlAgilityPack to process my HTML input. But I am getting unwanted closure tags when "LoadHtml" method is called. Suppose Text input is an explanation about "c# nullable types" and...
View ArticleNew Post: pseudo proxy
We have a webapp that pulls content from other sites, but when we serve up that content we need to re-write all of the URLs for links, images, CSS files, JS files etc to give the appearance this...
View ArticleNew Post: How to get values from node like this
Hello, I need help with getting strings from html page like this: <ul id='listahasel'> <li> <div><b class='glowka'><a...
View ArticleNew Post: How to get node specific value from HTML source
Hi everyone, I can't seem to retrieve the value of a node using the function htmldoc.DocumentNode.SelectNodes("xpath path"). I would like to read the value of the tag in the example at the end of the...
View ArticleNew Post: XPath & Net45
I've just downloaded HAP, and tried using the XPath function "SelectNodes" on a HtmlNode element, with no success : "'HtmlNode' does not contain a definition for 'SelectNodes' ..." This problem occurs...
View Article