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

Which HTML tidy bundle is the best? Is there a way to make an HTML website clean using HTML agility pack?

I am using ...html agility pack... to parse html ...tabular information.... Now there is some html content with missing ending tags and from such page because of missing ending tags html agility pack does not parse information properly.So I want to insert...
c# html-agility-pack html-parsing htmltidy winforms
asked by Harikrishna

Screen Scraping XPATH in HTML Agility Pack isn't delivering data.

I'm attempting to write a screen scraper for Digikey that will allow our company to keep accurate track of pricing, part availability and product replacements when a part is discontinued. There seems to be a discrepancy between the XPATH that I'm seeing ...
c# html-agility-pack screen-scraping web-scraping
asked by Matthias

Is it possible to parse HTML fragments using Html Agility Pack?

Can Html Agility Pack be used to parse an html string fragment?...Such As:...var fragment = "<b>Some code </b>"; ...Then extract all ...<b>... tags? All the examples I seen so far have been loading like html documents.
.net c# html-agility-pack
asked by chobo2

ReplaceNode in HTML Agility Pack does not affect the Body's InnerHTML.

I have this...The body:...<body><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent leo leo, ultrices eu venenatis et, rutrum fringilla dolor.</p></body> ...The code:...HtmlNode body = doc.DocumentNode.SelectSingleNode("//body"); Diction...
html-agility-pack innerhtml replace
asked by morsanu

Html Agility Pack: neaten up your code

Can I use Html Agility Pack to make the output look nicely indented, unnecessary white space stripped?
html-agility-pack
asked by Jan

Using HtmlAgilityPack to pick Divs by class from an HTML page

I am using C# with HtmlAgilityPack and I can select divs that have an id of foo...var foos = from foo in htmlDoc.DocumentNode.Descendants("div") where foo.Id == "foo" select foo; ...but how do I select div's with a class of bar?
c# html html-agility-pack
asked by Nicholas Murray

Is there a C# object that provides for simple HTML DOM management?

If I have a string that contains the html from a page I just got returned from an HTTP Post, how can I turn that into something that will let me easily traverse the DOM?...I figured HtmlDocument object would make sense, but it has no constructor. Are ther...
c# dom dom-manipulation html-agility-pack
asked by Matt

solutions for C/Objective-c/iPhone similar to the oehtml agility pack

I need a powerful HTML parser and manipulator for Objective-C/C, like HTML Agility Pack....Can anyone tell me some optimal solution? One solution is libxml2, but it seams is not the best....Thanks in advance!
c html-agility-pack html-parser iphone objective-c
asked by mxg

Split an HTML string into N sections

Does anybody have an example of spliting a html string (coming from a tiny mce editor) and splitting it into N parts using C#?...I need to split the string evenly without splitting words....I was thinking of just splitting the html and using the HtmlAgili...
c# html-agility-pack htmltidy regex
asked by Matt Brailsford

With the HTML Agility Pack, you can get links in class.

There are a bunch of tr's with the class alt. I want to get all the links (or the first of last) yet i cant figure out how with html agility pack....I tried variants of a but i only get all the links or none. It doesnt seem to only get the one in the node...
c# html-agility-pack
asked by user34537

HTML agility pack for Direct Descendants

I have a specific html node and i want to get the 2nd aka last direct descendant. So after writing ....Descendants("div")... i wrote ...ls.Last().... I actually got the last div in the 2nd descendant. Not what i am expecting. How do i get only the direct ...
.net html-agility-pack
asked by user34537

Using HtmlAgilityPack, select just objects in a specified DIV.

I'm trying to use the HtmlAgilityPack to pull all of the links from a page that are contained within a div declared as ...<div class='content'>... However, when I use the code below I simply get ALL links on the entire page. This doesn't really make sens...
c# html-agility-pack
asked by Adam Haile

Is it possible to utilize notepad++ exe in my program?

I am parsing html file with the help of the html agility pack to extract the table data from the html file. But there is some html files where there is no ending tags which is optional or there is no starting tag which is also optional.So html agility pac...
c# html-agility-pack htmltidy notepad++ winforms
asked by Harikrishna

HtmlAgilityPack is having issues with html that is malformed.

I want to extract meaningful text out of an html document and I was using html-agility-pack for the same. Here is my code:...string convertedContent = HttpUtility.HtmlDecode( ConvertHtml(HtmlAgilityPack.HtmlEntity.DeEntitize(htmlAsString)) ); ...Conve...
c# html-agility-pack
asked by Kapil

Extracting Links with HTMLAgility Pack

Consider this simplest piece of code:... using System; using System.Collections.Generic; using System.Linq; using System.Text; using HtmlAgilityPack; namespace WebScraper { class Program { static void Main(string[] args) { ...
c# html-agility-pack
asked by Soham

XPATH, HtmlAgilityPack, and Text Extraction

I had been trying to extract links from a class called "tim_new" . I have been given a solution as well....Both the solution, snippet and necessary information is given ...here...The said XPATH query was ..."//a[@class='tim_new']..., my question is, how d...
c# html html-agility-pack xpath
asked by Soham

'string' cannot be converted to 'HtmlAgilityPack.HtmlDocument'.

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using HtmlAgilityPack; namespace sss { public class Downloader { WebClient client = new WebClient(); public HtmlDocument Find...
.net c# html-agility-pack
asked by Sergio Tapia

Using an HTML Agility Pack, how can I obtain all material inside a td> tag?

So I'm writing an application that will do a little screen scraping. I'm using the ...HTML Agility Pack... to load an entire HTML page into an instance of ...HtmlDocoument... called ...doc.... Now I want to parse that doc, looking for this:...<table borde...
c# html-agility-pack screen-scraping
asked by Bob Dylan

Is it possible to set values for inputs inside my WebBrowser control?

I have a web page loaded into a WebBrowser object. What I want to do is access the elements on that page to input data. For example, enter username and password and submit the form....How is this possible? Any ideas?...Could I use HTMLAgilityPack to acces...
browser c# html-agility-pack
asked by James Jeffery

HtmlAgilityPack has a problem processing the children of a node.

I'm having a problem parsing the input tag children of a form in html. I can parse them from the root using //input[@type] but not as children of a specific node. ...Here's some code that illustrates the problem:...private const string HTML_CONTENT = ...
c# html-agility-pack html-parsing xpath
asked by SteveG

Page 3 of 53
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • »
  • »»

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!