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

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

Hi Lee, As it is the "OR" condition it should return all the 3 nodes 1st td has "id" 2nd td has name and span has id I'm i correct ?

View Article


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

Hi arsh, It should return none as it is only to return a node that hasn't got the attribute ID and not got the attribute name. In XPath the | symbol means and here is a quick link to show the...

View Article


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

Updated above..

View Article

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

Oh yes!! I checked the link (http://www.w3schools.com/xpath/xpath_syntax.asp) But what should we use for "OR" condition ? Anyways Thanks for your quick Response.

View Article

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

Is there any other way to select it? If you give me a sample i might be able to help find one. if you dont want to post here you can send to me at lee.jeary @gmail,com

View Article


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

My thinking is that with such a wide search criteria you will get a lot of tags that you don't require. for example a good search would use a class attribute or maybe all td's inside a table with the...

View Article

New Post: SelectNodes non-standard behaviour

So I ran into a most unusual issue, for which I'm assuming the answer is trivial, but for some reason it appears to escape my gaze. I have the following XML document (Names had been modified to protect...

View Article

New Post: SelectNodes non-standard behaviour

Lowercase. It has to be lower case. It happened to me last time. I made a huge note which I disregarded. I wish there was a note in the implementation, or in the documentation. But oh well.//b saves...

View Article


New Post: SelectNodes non-standard behaviour

Hi itamaram, What version do you have? Think I came across this before with someone but the new version it works 1.4.6 Just checking now

View Article


New Post: SelectNodes non-standard behaviour

Ok my mistake.. the search string has to be lowercase but the html can be upper or lowercase.

View Article

New Post: SelectNodes non-standard behaviour

shouldn't it return an empty List<Node> ? why null ?

View Article

New Post: How do I contribute to Html Agility Pack project?

I have downloaded the source code and made the fix. I have also started up SVN, but I'm not sure where to add the file I've changed. Am I even suppose to do this, or do I just upload a patch? Help please!

View Article

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

Lee, But it will be a long looping process., doe's any one knows any option in HAP to achieve this?

View Article


New Post: To remove the unknown attributes

How can i remove all the attributes other than some specific attributes. Eg: i have tags say <div><p> and <img> <div> and <p> tag can have the following attributes 1)id...

View Article

New Post: "OR" condition while selecting attributes

Hi , In HAP i found "|" works as "and" condition, then what's the alternative or "or" condition. eg: i want the list of element which neither have "abc" nor"xyz" as their attributes....

View Article


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
Browsing all 450 articles
Browse latest View live


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