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

New Post: Selecting node based on attribute / removing unknown attributes

Hi Lee, Can linq will become an option to get the result ?

View Article


New Post: Make HtmlNode.WriteTo virtual

We have a CMS with rich editor. The editor is inserting special HTML elements that serve as placeholders for videos, audios, images or blocks of text. We are migrating from regular expression to HAP to...

View Article


New Post: Specify Client Certificate for SSL connection

Is it possible to connect to an https page and specify the client side digital certificate to use for the connection? For example, I would think it would be something like:var webGet = new HtmlWeb();...

View Article

New Post: Xpath

Hi , Can any one suggest how can i write the xpath for the following . 1) if i want <span> tag to have either the text or the <br> tag within it I tried this _...

View Article

New Post: CreateNode does not support all tags?

I'm building up a complete HTML using C#, using ReplaceChild together with CreateNode. Most works pretty smooth, except for the following: switch (node.Attributes["attribute"].Value.ToLower()) { case...

View Article


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 Article

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

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


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


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

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

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

New Post: using htmlagilitypack with ajax div load c#

I want to get the content in a tag div after page done:...

View Article


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

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


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

Image may be NSFW.
Clik here to view.

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


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

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

New 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 Article
Browsing all 655 articles
Browse latest View live


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