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

New 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 Article


New 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 Article


New 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 Article

New Post: Remove element, but not innerHtml

Good luck var Content = doc.DocumentNode.SelectSingleNode(@"//ul") ; var remcontent = doc.DocumentNode.SelectSingleNode(@"//removeThis");   remcontent.Remove();

View Article

New 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 Article


New 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 Article

New Post: ARM Binaries?

Actually, now I can confirm that the DLL available for here does work on ARM.

View Article

New 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 Article


New 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 Article


New 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 Article

New 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 Article

New 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 Article

New 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 Article


New 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

New Post: HTML5 support

Does the Html Agility Pack parse HTML5?

View Article


New Post: Load XML inside the HTML source code

There are some XML tags inside the HTML source code of a website <html> <xml id=".."> </xml> </html> Can I use Html Agility Pack to load that XML file and read? Thank you.

View Article

New Post: Select encoding/charset on Windows Phone

How about instead of using this ecoding tool do this: web.LoadAsync(baseUrlAddress, Encoding.GetEncoding("iso-8859-1")); Works for me in WP 7.1 sdk.  

View Article


New Post: Select encoding/charset on Windows Phone

Strange. According to this: http://msdn.microsoft.com/en-us/library/t9a3kf7c(v=vs.95).aspx the only valid values are utf-8 and utf-16 variants. My code threw exception when I tried using iso-8859-2.

View Article

New Post: XPath to select attribute

So what's up now with HtmlNodeType.Attribute? In last versions of HAP it's still not implemented, and when I select node's attribute the whole element node is selected((

View Article

New Post: Possible to get position and length of Node content in original input?

Is it possible to read the original source position and length of a Node's content in the original input data? I know Node already has StreamPosition that points to the character where a Node begins...

View Article
Browsing all 450 articles
Browse latest View live