zzz projects Html Agility Pack
Documentation Release Notes
3rd Party Libraries Knowledge Base Online Examples  GitHub
  • Documentation
  • Release Notes
  • 3rd Party Libraries
  • Knowledge Base
  • Online Examples
  •  GitHub
  •   Download  

Html Agility Pack - Knowledge Base (KB)

1054 results for:

Is there an XmlReader equivalent for HTML in .Net?

I've used ...HtmlAgilityPack... in the past to parse HTML in .Net but I don't like the fact that it only uses a DOM model....On large documents and/or those with heavy levels of nesting it is possible to hit stack overflow or out of memory exceptions. Al...
.net html html-agility-pack parsing xmlreader
asked by RobV

Extract all form elements name htmlagilitypack

i have this code to extract all form input element in html document. currently, i cant get select, textarea and other elements except input element....Dim htmldoc As HtmlDocument = New HtmlDocument() htmldoc.LoadHtml(txtHtml.Text) Dim roo...
forms html-agility-pack vb.net winforms
asked by Smith

How can I save HtmlDocument to memory? Html Agility Pack

I am using HTML Agility Pack to parse and HTML document, make a change to a node, and then save the HTML document. I would like to save the document to memory so I can write the HTML out as a string later in the application. My current implementation alwa...
c# html-agility-pack
asked by Nick

HtmlAgilityPack Post Login

I'm trying to login to a site using HtmlAgilityPack (site:...http://html-agility-pack.net...)....Now, I can't exactly figure out how to go about this. ...I've tried setting the Html form values via...m_HtmlDoc.DocumentNode.SelectSingleNode("//input[@name=...
c# html-agility-pack login
asked by Styles

HtmlAgilityPACK showing Error " The given path's format is not supported" when loading html page from web server

I am using my local Apache Server and its address is 127.0.0.1 . and i trying to load html page from this server to C# programme using HTML Agility PACk but its showing ...ERROR : The given path's format is not supported.... HtmlAgilityPack.HtmlDocum...
c# html-agility-pack web-applications web-services
asked by panindra

How to strip comments from HTML using Agility Pack without losing DOCTYPE

I am trying to remove unnecessary content from HTML. Specifically I want to remove comments. I found a pretty good solution (...Grabbing meta-tags and comments using HTML Agility Pack...) however the DOCTYPE is treated as a comment and therefore removed a...
html-agility-pack
asked by desautelsj

How to Timeout a request using Html Agility Pack

I'm making a request to a remote web server that is currently offline (on purpose)....I'd like to figure out the best way to time out the request. Basically if the request runs longer than "X" milliseconds, then exit the request and return a ...null... r...
.net asp.net-mvc-3 c# html-agility-pack timeout
asked by Chase Florell

How to remove duplicate attributes from XML with C#

I am parsing some XML files from a third party provider and unfortunately it's not always well-formed XML as sometimes some elements contain duplicate attributes....I don't have control over the source and I don't know which elements may have duplicate at...
c# html-agility-pack validation xml
asked by Catch22

Convert webpage into plain text..?

I am trying to convert the webpage into a plain text. But if I encountered the table I am getting td and tr tags too. If I replace those table tags then I can't get some of the content....Here is my code...string s = Regex.Replace(htmldoc, "<script.*?</sc...
c# html-agility-pack regex
asked by Ajit Hegde

How to comment out all script tags in an html document using HTML agility pack

I would like to comment out all script tags from an HtmlDocument. This way when I render the document the scripts are not executed however we can still see what was there. Unfortunately, my current approach is failing:...foreach (var scriptTag in htmlDo...
c# comments html-agility-pack
asked by Zugwalt

HtmlAgilityPack and HtmlDecode

I am currently using HtmlAgilityPack with a console application to scrape a website. Since the html is encoded (it returns encoded characters like ...&#039;...) I have to decode before I save the content to my database....Is there a way to decode the retu...
html-agility-pack
asked by Thomas

HtmlAgilityPack replace node

I want to replace a node with a new node. How can I get the exact position of the node and do a complete replace?...I've tried the following, but I can't figured out how to get the index of the node or which parent node to call ...ReplaceChild()... on....
c# html-agility-pack
asked by Omar

HtmlAgilityPack - selecting single node from a node collection using XPath

i have been fighting with this code for a few hours now.......Sample Node for results:...<div class="left vcard" sizcache="1" sizset="32"> <h2 class="clearfix fn org url" sizcache="1" sizset="32"> <a id="listItemTitle_11310540" href="/...
html-agility-pack selectsinglenode xpath
asked by Dementic

Using Html Agility Pack to grab text content

I will try my best to specific. Basically working on a crawler in vb.net whereby I am more interested in extracting text content of the page. My current application downloads the body of the html source in a textbox by using a web browser control as follo...
html html-agility-pack vb.net
asked by KJSR

C# htmlagilitypack XPath Help

I have this xpath expression that does not work..."//div[child[0]::h4[text()[contains(.,'Dir')]]]/a" ...To parse this html:...<div class="txt"> <h4 class="c1"> Dir </h4> <a href="/name/myname/">Bob</a> </div> ...I am trying to...
c# html-agility-pack xpath
asked by user623879

Parse inner HTML

This is what I want to parse...<div class="photoBox pB-ms"> <a href="/user_details?userid=ePDZ9HuMGWR7vs3kLfj3Gg"> <img width="100" height="100" alt="Photo of Debbie K." src="http://s3-media2.px.yelpcdn.com/photo/xZab5rpdueTCJJuUiBlauA/ms.jpg"> </a> </div...
c# html-agility-pack html-parsing
asked by Zain Ali

Extracting Inner text from HTML BODY node with Html Agility Pack

Need a bit of help with HTML Agility Pack!...Basically I want to grab ...plain-text... withing the body node of the HTML. So far I have tried this in vb.net and it fails to return the innertext meaning no change is seen, well atleast from what I can see....
c# html html-agility-pack vb.net
asked by KJSR

Convert "& aring;" "& ouml;" to its normal representation

I'm loading a web page ...System.Net.WebClient.... Page is in ...ISO-8859-1... encoding. If I write it to file and then open, I can see all characters normally....But if I put this content into HtmlAgilityPack and then extract innerText property, I'm get...
c# character-encoding html-agility-pack iso-8859-1
asked by MichaelVerossa

How to parse a FORM from WebResponse into a POST body of a WebRequest

I'm new to this, this is my virgin voyage, the task at hand is to create a transaction in C# that will navigate through a page flow of a web app via WebRequest/WebResponse. I got the Request/Response mechanism working, cookies and all (I can successfully ...
c# html-agility-pack webrequest webresponse web-scraping
asked by Jessica Jones

HtmlAgilityPack close form tag automatically

I am tring to parse an html file with this code:...<div><form>...</div>...</form> ...the problem is that the HtmlAgilityPack automatically close the form tag before the div ending tag: ...<div><form>...</form></div>...</form>... so when I parse the form...
.net html html-agility-pack
asked by ido

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

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