New Post: CreateNode does not support all tags?
Sorry, I don't have an answer to why you're having problems, but I have a suggestion. You could try replacing <b> with <strong> and <i> with <em>. I know they are not identical...
View ArticleNew Post: CreateNode does not support all tags?
Tried that already, doesn't make any difference. The bizarre part is this: if I start with a bold section, followed by a 'regular' section, only the bold section is displayed. If I use italic IN that...
View ArticleNew Post: Xpath
1) //span[text() or br] 2) //a[span or img] this works for immediate children of <span> or <a>. For children at any level try 1) //span[.//text() or .//br] 2) //a[.//span or .//img]
View ArticleNew Post: Selecting all nodes containing text()
Hello, I have been struggling to resolve this problem I am having over the past couple of days. Say, I want to get all the text() from an HTMLdocument, however I only want to know and retrieve of the...
View ArticleNew Post: How to extract Name , address from a telephone directory webpage
Dear Sir, I appreciate your support to extract location name , address from this web sitehttp://www.140online.com/mClasses/pages/162/%D8%A7%D8%B7%D8%A8%D8%A7%D8%A1/1/ it contains names , address and...
View ArticleNew Post: why doesn't work my code on windows 8 app ?
private void button1_Click(object sender, EventArgs e) { Uri url = new Uri("http://www.dr.com.tr/Catalog/Categories/FilterProducts/?Id=4645&type=12"); WebClient client = new WebClient(); string...
View ArticleNew Post: xml error parsing
Hi all, For any xml , parsing the file to check the syntax and all is important . What is the best way.
View ArticleNew Post: using htmlagilitypack with ajax div load c#
I want to get the content in a tag div after page done:...
View ArticleNew Post: Regex to get the class data from the .css file
Hi , How to extract all the .class data from an stylesheet for the classes listed in an string list. Eg:1) i have a list of string htmlClassNames[0]="abc" htmlClassNames[1]="def" . . ....
View ArticleNew Post: Project status
I'm interested in fixing a bunch of issues and contributing to this project. What's the status of HAP right now? Is there anyone maintaining it? There has been no commits for a while and issues seem to...
View ArticleNew Post: Project status
Just wanted to let you know that i've decided to fork this project and put it on GitHub. My fork will be very lightweight and several features will be removed. I hope you don't mind. If so, please let...
View ArticleNew Post: How to look for a specific word in a page
Hi How to look for a specific word in a page http://htmlagilitypack.codeplex.com/ For example, the following links "html" word Thank you
View ArticleNew Post: Project status
Could you elaborate a little on what you are going to take out in your fork? I may be interested in switching to your fork, as I too worry a little about the inactivity. Thanks!
View ArticleNew Post: Modify HTML before sending to client
Hello, I am trying to implement a solution where I want to change the image URL and CSS src before I send the HTML page back to client. I am doing this in C#.(Basically instead of pointing image url to...
View ArticleNew Post: Form Operations
Hello, I am new to HAP. What I am trying to do is to enter information on a form and submit the form and parse the result page. I have tried this with webbrowser object in vb.net but the problem is I...
View ArticleNew 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 ArticleNew Post: I can not get tag
<div id="player_trailer" class="c_trailer" align="center"> <embed id="template" width="600" height="340"...
View ArticleNew Post: I can not get tag
What have you tried to do? Could you please provide some code samples?
View ArticleNew 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 ArticleNew Post: I can not get tag
i tried :private string LinkYouBeMegaStar() { var hw = new HtmlWeb(); HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument(); doc =...
View Article