zzz projects Html Agility Pack
Home
Documentation Release Notes 3rd Party Libraries Knowledge Base  Help & Donate
Online Examples
  • Home
  • Documentation
  • Release Notes
  • 3rd Party Libraries
  • Knowledge Base
  • Help & Donate
  • Online Examples
  •   Download  

Html Agility Pack - Knowledge Base (KB)

1054 results

The inner text of any other child node is not searched for by XPath.

I'm using HtmlAgilityPack. ...I hover over the parent node and its ChildNodes show several ...#text... nodes. The XPath value shows .../code[1]/#text[1].... I try to use ...//#text... to get all the text nodes but I get that error:...Error: ...Expressi...
c# html html-agility-pack xpath
asked by Chuck Savage

Separating on br/> using HTMLAgilityPack

I have some html, which is separated by ...<br/>... e.g.:...Jack Janson <br/> 309 123 456 <br/> My Special Street 43 ...What is the easiest way to retrieve the information in 3 columns?...I am not an XPath expert, so another approach would be to separate ...
html-agility-pack
asked by Dofs

A new value for an image src attrib is required.

I'm retrieving HTML of many webpages (saved earlier) from SQL Server. My purpose is to modify an img's src attribute. There is only one img tag in the HTML and it's source is like so:...... <td colspan="3" align="center"> <img src="/crossword/13cnum1.gif"...
c#-4.0 html-agility-pack winforms
asked by Hassan Gulzar

WebDriver can use xpath to locate elements, but Html Agility Pack can't.

I have continually had problems with Html Agility Pack; my XPath queries only ever work when they are extremely simple:...//*[@id='some_id'] ...or...//input ...However, anytime they get more complicated, then Html Agility Pack can't handle it. Here's an e...
c# html-agility-pack visual-studio-2010 webdriver xpath
asked by Anders

How can HtmlAgilityPack pull text from an html node with a dynamically added class attribute?

Dear friends,I want to extract text ...平均3.6 星... from this code segment excerpted from amazon.cn....<div class="content"><ul> <li><b>用户评分:</b> <span class="crAvgStars" style="white-space:no-wrap;"> <span class="asinReviewsSummary" ref="dp_d...
html-agility-pack
asked by Kevin Auds

Problem choosing subnode in HTML Agility Pack

I want to export my Asics running plan to iCal and since Asics do not offer this service, I decided to build a little scraper for my own personal use. What I want to do is to take all the scheduled runs from my plan and generate an iCal feed based on that...
asp.net-mvc c# html-agility-pack
asked by Sebastian Brandes Kraaijenzank

Html Agility Pack ignores parsing errors?

I'm trying to parse out a single page from YouTube... Which isn't really free of syntax errors. Html Agility Pack screams about these errors, and returns nothing in result....http://codepaste.net/gh3hco
c# html html-agility-pack pack
asked by user646692

In HtmlAgilityPack, I'm having trouble figuring out XPath.

I have trying to get around making my first C# application(that can do more than just say "Hello world"),...now the html file got lots of tags,(but got only two h4 tags that are given below.) but here is the part that i am interested in: ...<table width="...
c# html-agility-pack xpath
asked by TarunG

capturing redirct in C# htmlagility pack

HI all, this one is really simple (I hope). I'm using htmlagility pack to do my webcrawling. So what happens if I input url whatever, that then directs me to a new url, how do I capture that new redirected URL?...If htmlagility pack doesnt have a way, c...
c# html-agility-pack
asked by user222427

How can I get text next to a picture using HTML Agility Pack?

I have this bit of html that I need to parse though...<p class="feature_list"> <img src="candy.gif" alt="candy" title="candy"/>&nbsp; x 3&nbsp;&nbsp; <img src="lollies.gif" alt="lollies" title="lollies"/>&nbsp; ...
c# c#-4.0 html-agility-pack web-scraping
asked by Diskdrive

Making your web scraping operations seem to be typical browser browsing?

I'm using the Html Agility Pack and I keep getting this error. "The remote server returned an error: (500) Internal Server Error." on certain pages....Now I'm not sure what this is, as I can use Firefox to get to these pages without any problems....I have...
c# html-agility-pack web-scraping
asked by Diskdrive

htmlagilitypack and vb.net to retrieve a> tags and attributes

i have this code...Dim htmldoc As HtmlDocument = New HtmlDocument() htmldoc.LoadHtml(strPageContent) Dim root As HtmlNode = htmldoc.DocumentNode For Each link As HtmlNode In root.SelectNodes("//a") If link.HasAttributes("href") Then doSomething() 'th...
html-agility-pack vb.net
asked by Smith

Create a HtmlAgilityPack query to parse an HTML DOCUMENT.

I want to get the A href of that element in ...span class="floatClear"... whose rating is minimum in...span class="star-img stars_4"...How can I use HtmlAgilityPack to achieve this behaviour I have give the html source of my file...<div class="businessre...
c# html html-agility-pack linq
asked by Zain Ali

htmlagility pack: how to get child node from node

<html> <body> <div class="main"> <div class="submain"><h2></h2><p></p><ul></ul> </div> <div class="submain"><h2></h2><p></p><ul></ul> </div> </div> </body> </html> ...I loaded the htm...
c# html-agility-pack
asked by Ajit

Skip or delete nested tables using HtmlAgilityPack.

I’m using HtmlAgilityPack in order to retrieve the following html (notice the nested table):...<table class="123"> <tr> <table class="789"> <tr> <td>abc</td> </tr> <tr> <td>def</td> </tr> </table> </tr> <tr> ...
html-agility-pack
asked by Vlince

Html Agility Pack allows you to find and delete certain HTML tags.

I'm trying to get Html Agility Pack to work in my case. I need to detect all script elements in an existing HTML page and remove them, saving the changes to another file. Here, bodyNode returns the correct number of script tags, but I can't remove them. T...
html-agility-pack
asked by user246392

In HTML agility pack, how can I keep the case of an attribute name without altering it to lower case?

i want to maintain case of attribute name without changing to lower case ...when i load xml in HTMLAgility pack attribute name changed into lowercase like this ...<Author affiliationids="Aff1" correspondingaffiliationid="Aff1">... i want output like this....
html-agility-pack
asked by kalai

Only all text nodes are iterated by HTMLAgilityPack.

Here is a HTML snippet and all I want is to get only the text nodes and iterate them. Pls let me know. Thanks....<div> <div> Select your Age: <select> <option>0 to 10</option> <option>20 and above</option> </select...
html-agility-pack
asked by Sha Le

SelectNodes in XPath

I have:...<div id="foo"> <a href="/xxx.php"> xx </a> <a href="/xy.php"> xy </a> <a href="/uid.php?id=123"> 123 </a> <a href="/uid.php?id=344"> 344 </a> </div> ...I how select only items containing 'id' in href using HtmlAgilityPack?...with Output:... <a h...
.net c# html-agility-pack
asked by The Mask

HTML agility pack: replace pictures with different text

I need to parse HTML for images and replace those tags with a new tag that just has the text that is contained in the alternate. Can someone show how to do this with both linq and standard usage?...I've using a linq sample now to replace paragraphs. But, ...
asp.net c# html-agility-pack
asked by Curtis White

Page 9 of 53
  • ««
  • «
  • …
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • …
  • »
  • »»

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!