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

Select all child nodes using Xpath

I need select all child nodes (option tag) from this html:...<select name="akt-miest" id="onoffaci"> <option value="a_0">Všetci</option> <option value="a_1">Iba prihlásení</option> <option value="a_5" selected="selected">Teraz na Pokeci</option> <optg...
html html-agility-pack xpath
asked by user572844

The error "Object reference not assigned to an instance of an object" is returned by HtmlAgilityPack WebGet.Load.

I am on a project about getting new car prices from dealers websites. I can fetch most web sites html. But when I try to load one of them WebGet.Load(url) method gives ...Object reference not set to an instance of an object.... error. I couldn't find any ...
c# html-agility-pack
asked by Barış

Using Html Agility Pack, how do I retrieve img/src or a/hrefs?

I want to use the HTML agility pack to parse image and href links from a HTML page,but I just don't know much about XML or XPath.Though having looking up help documents in many web sites,I just can't solve the problem.In addition,I use C# in VisualStudio ...
.net c# html html-agility-pack html-parsing
asked by iShow

Get particular node in HTML Agility Pack

Hello i have a problem with my application. I need to pick out a specific text between two nodes....The html page looks like this...<td align="right" width="186">Text1</td> <td align="center" width="51">? - ?</td> <td width="186">Text2</td>` ...I can pick...
asp.net c# html-agility-pack
asked by rickard

How can I use HTML agility pack to pick nested elements?

I have a following kind of xml/html...<root> <p1> <l1> <a>something</a> <a>something</a> <a>something</a> <a>something</a> </l1> <l1> <a>something</a> <a>something</a> <a>something</a> ...
c# html-agility-pack
asked by Amit

Get the whole HTML page as a string using HtmlAgilityPack.

Does HtmlAgilityPack have the ability to return the ...whole... HTML markup from an HtmlDocument object as a string?
c# html-agility-pack
asked by deostroll

XPATH utilizing HTML agility pack to extract one td at a time from a tbody

I am trying to parse the table from the URL (Google finance) below...http://www.google.com/finance/historical?q=BOM:533278 ...I am trying to extract only the ...close... values in the ...close... column. But when i try with the XPATH ...hd.DocumentNode.Se...
html html-agility-pack xpath
asked by Krishna Chaitanya M

HTMLAgilityPack c# element removal by class name

I'm using the html agility pack to read the contents of my html document into a string etc. After this is done, I would like to remove certian elements in that content by their class, however I am stumbling upon a problem....My Html looks like this:...<di...
.net c# html-agility-pack xpath xslt
asked by Dave

The HTML Agility Pack generates a new HTMLNode.

I'm using HTML Agility Pack to parse and transform a HTML file, but I get an exception "Item has already been added" when try to create a new HTMLNode because of the index parameter. ...HtmlNode node1 = new HtmlNode(HtmlNodeType.Element, doc, 0); node1.N...
html html-agility-pack indexing parsing
asked by Diogo Cardoso

HTML Agility Pack for YouTube in C#

I am trying to retrieve all the video ids off the YouTube's search results page....Each result has this code:...<a href="/watch?v=aYIC-ebAD3o" class="ux-thumb-wrap result-item-thumb"> <span class="video-thumb ux-thumb-128 "> <span class="clip"> ...
c# html html-agility-pack html-parsing
asked by mintuz

Error parsing HTMl agility pack and returning XElement

I can parse the document and generate an output however the output cannot be parsed into an XElement because of a p tag, everything else within the string is parsed correctly....My input:...var input = "<p> Not sure why is is null for some wierd reason!<b...
.net-3.5 c# html-agility-pack html-parsing
asked by Haroon

HtmlAgilityPack The exception "object not assigned to an instance" is thrown by HtmlDocument.Load.

var uri = new Uri("http://store.scrapbook.com/cos-pad825.html?t12-13=cosmo%20cricket&date=20110309"); var request = (HttpWebRequest)WebRequest.Create(url); var cookieContainer = new CookieContainer(); request.CookieContainer = cookieContainer; request.Us...
c# html-agility-pack
asked by Adrian Adkison

HTML encoding using HtmlAgilityPack

I have a question about Chinese encoding and saving back to a file. I am currently using the HtmlAgilityPack to parse HTML, do some things with it and save it back to the file. I am having a problem with Encoding, such as Chinese (GB2312 (Simplified)). Wh...
encoding html-agility-pack
asked by Tomasz Iniewicz

Property HtmlAgility ParseErrors

What errors can I expect to fix HtmlAgility library? I know from my own experience it can close a missing tag, like:...<car>Nissan</car ...When do Load or LoadHtml, it will fix it, like:...<car>Nissan</car> ...I also know that ParseErorrs collection can d...
html-agility-pack
asked by user569008

How to use HTML Agility Pack to fix badly constructed HTML

I am attempting to replace this god awful collection of regular expressions that is currently used to clean up blocks of poorly formed HTML and stumbled upon the HTML Agility Pack for C#. It looks very powerful but yet, I couldn't find an example of how ...
asp.net c# html html-agility-pack
asked by nokturnal

Can HtmlAgilityPack produce html from an xml file that includes an xsl file?

I was wondering the best way for HtmlAgilityPack to read an xml file that includes an xsl file to render html. Are there any settings on the HtmlDocument class that would assist in this, or do I have to find a way to execute the transformation before load...
c# html-agility-pack
asked by Adrian Adkison

In HtmlAgilityPack loadhtml, the 'less than' indication is removed.

I recently started experimenting with the HtmlAgilityPack. I am not familiar with all of its options and I think therefor I am doing something wrong....I have a string with the following content:...string s = "<span style=\"color: #0000FF;\"><</span>"; ..
c# html html-agility-pack
asked by TurBas

How can I use html agility to grab everything between <b> and <br>

I poorly asked about this same project last week and didn't receive any suggestions. I will try to be more clear. I am trying to work with data from the website ...www.gtin13.com.... For example if you enter peanut butter into the search, I am trying to ...
c# html-agility-pack html-parsing screen-scraping
asked by JRB

The HTML Agility Pack eliminates the break tag.

I am creating an HTML document using HTML agility pack. I load a template file then append content to it. All of this works, but when I view the output file it has removed the closing tag from my ...<br/>... tags to look like this ...<br>.... What is caus...
asp.net html-agility-pack vb.net
asked by guanome

Cookies from HtmlAgilityPack.HtmlDocument

This pertains to cookies set inside a script (maybe inside a script tag)....System.Windows.Forms.HtmlDocument... executes those scripts and the cookies set (like ...document.cookie=etc......) can be retrieved through its ...Cookies... property. ...I assum...
cookies dom html-agility-pack javascript
asked by Jojo

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

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!