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

New Post: selectNodes not returning any node attributes

I am doing a selectNodes like this... currentNodeCollection = htmlDoc.DocumentNode.SelectNodes("/html/body//a") It's returning all the nodes, but they are all text nodes with no attributes? If I look...

View Article


New Post: I can not get tag

<div id="player_trailer" class="c_trailer" align="center"> <embed id="template" width="600" height="340"...

View Article


New Post: I can not get tag

What have you tried to do? Could you please provide some code samples?

View Article

New Post: Getting absolute links instead relative ones

So how could I call the first record in the returned results from @foxmulder82 's answer above? Im also getting a 'does not exists in context' error on 'doc' in the second line. Any idea what I need to...

View Article

New Post: I can not get tag

i tried :private string LinkYouBeMegaStar() { var hw = new HtmlWeb(); HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument(); doc =...

View Article


New Post: CreateNode does not support all tags?

I'm having this issue too. And I was just about to create an issue in the tracker. Then I realized, a node can only be one thing - ie. it isn't a list of nodes. For example, this:"Normal, <i>this...

View Article

New Post: I can not get tag

Does the statement: HtmlNode embed_tag = doc.DocumentNode.SelectSingleNode("//div[@class='c_trailer']") returns a non null value for embed_tag?

View Article

New Post: I can not get tag

yes! i tried get embed_tag .Atributtes["id"].value. (value="player_trailer");

View Article


New Post: I can not get tag

Did you try embed.InnerHtml instead of embed.InnerText?

View Article


New Post: How do i use HtmlAgilityPackSanitizerProvider

I don't want to use ajax control toolkit sanitizer as it sucks but right now i cant find a way to use only HtmlAgilityPackSanitizerProvider so i can use HAP 1.4.6 need help thank you

View Article

New Post: Working with WebBrowser

I want to feed content from WebBrowser to Html Agility Pack. What's the proper way for doing it? I'm working with a WPF application on C# Thanks

View Article

New Post: web services

<%@ WebService Language="VBScript" Class="TempConvert" %> Imports System Imports System.Web.Services Public Class TempConvert :Inherits WebService<WebMethod()> Public Function...

View Article

New Post: passing with for on html controls

someone suggested me to try HtmlAgility Pack for I want to do. I have several html controls that their's ID run from 1 to 10, like "txtName_1", "txtName_2" , and so on until "txtName_3". I do not want...

View Article


New Post: SelectNodes returns null

I am running the following line of HtmlAgilityPack code within a C# program in MSVS Express, but chartStrings remains null after execution: HtmlNodeCollection chartStrings =...

View Article

New Post: Paging problem

Hi, I have a website to scrape which has paging on it. When I use HTML Agility to download the HTML data it always loads first page. But when I paste the same url on browser it just works fine. Url...

View Article


New Post: How to import ?

Hi, i'm new in this project and I would to use this for parse html but i don't succeed to import the .dll file. When I do, visual studio out "a Superior reference or an incomaptible assembly can't be...

View Article

New Post: [resolved] How to import ?

Ok, it's resolve. I've imported the .dll with Nugget Manager. Easy way. Thanks.

View Article


Image may be NSFW.
Clik here to view.

New Post: not found HtmlWeb.cs

Hi!, when I want to create a new instance of a class HtmlWeb, I get the following error: I progrando with WinRT + vb + xaml. Thank you very much.

View Article

New Post: how find input of form in html with htmlagilitypack?

I have a program that you're using htmlagilitypack, which dll's I've added it into the html code of the program, we'll find a form to input. So explain. Plan to tag form (form) after the detection of...

View Article

New Post: KeyNotFoundException when searching for "apos"

I hit the following exception:System.Collections.Generic.KeyNotFoundException was unhandled by user code HResult=-2146232969 Message=The given key was not present in the dictionary. Source=mscorlib...

View Article
Browsing all 655 articles
Browse latest View live


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