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

New Post: stackoverflow exception - cannot trace cause

I am using the htmlagilitypack to parse an xml document. I use it to load the string as a htmldocument and then use the xmltextreader to parse. I will occasionally get an unhandled stackoverflow...

View Article


New Post: Problem selecting within a node

In the last persons example, just change the line to read: string test2 = row.SelectSingleNode(".//td").InnerText; The . means to do the search from the current node, // on its own means from the start...

View Article


New Post: Extracting Images And HTML From .html File

Hello, I'm new to the Html Agility Pack and was wondering if someone could help me out.  I have a WPF C# project with an HTML string as shown below: htmlString =...

View Article

New Post: Inner Text but the hard way

I need to get some text from this web page http://openbook.etoro.com/ahanit/#/profile/Trades/ I want to use the trade feed for my program to analyse the sentiment of the markets. I used the VB browser...

View Article

New Post: How to check HtmlWeb.LoadAsync finished

I have a class in Viewmodel folder that using HtmlWeb.LoadAsync to get data from web:   public void GetContent(int index) { //get content HtmlWeb.LoadAsync(Magazines[index].Url, (s, args) => { .......

View Article


New Post: A bug when save to a stream

The methods "public void Save(Stream outStream, Encoding encoding)" and " public void Save(Stream outStream)" in class HtmlDocument,declare a StreamWriter for writing data to stream with default...

View Article

New Post: Gett value from single node

I try get single value from this node: http://gg.pl/dysk/5TppYI-rUkJB5DppYI-rauA/depozyty%20z%C5%82otowe%20-%20WIBOR%206M-121502.png from this site :...

View Article

New Post: Html encoding only text nodes

Hi, Struggled with this for a while. Can html agility pack currently encode only text nodes ? I.E : " hi <3 Did you know we're stocklists blah blah, can read our blog here <a...

View Article


New Post: Disable Proxy

Hi, how can I totally disable the use of a proxy server?

View Article


New Post: How to use HAPPhone APIs to achieve this function

Hi, I have ran into a problem usig XmlReader on WP7. It is because it does not support BIG5 encoding when trying to read XML content. Here is what I was trying to do. using (XmlReader reader =...

View Article

New Post: Validate/fix a html content

Hi all, Is it possible to validate/fix a html content with HtmlAgilityPack? Thank you

View Article

New Post: .net 4.5 version and WinRT version

Soon will be avaliable  windows8 rc version (June). Developers can start writing apps now. There are not librarys compatible with winrt (which can verifie with WACK ). Html Agility Pack is one of the...

View Article

New Post: how to get table from another website with method=post

 I want a table from another website. For testing purpose i have made an html file and saved it on my desktop with following code: <html> <head>     <title>Search</title>...

View Article


New Post: how to get attribute value plz

  hello, i need to get all the title attributes value ,only those who in the <td class = val> Code: <td class="val"><img class="r3" src="img/x.gif" alt="ind" title="ind" /> 750...

View Article

New Post: Possibility to be added as developer for creating test cases

Hi Is it possible to be added to the project so I can create tests cases for HtmlAgilityPack, which it definately lacks.

View Article


New Post: Possibility to be added as developer for creating test cases

yes you can add the dll file to your project

View Article

New Post: how to get attribute value plz

Here's how I would do it: HtmlWeb.LoadAsync(url, handleResults); public void handleResults(object o, HtmlDocumentLoadCompleted args) { IEnumerable<HtmlNode> columns =...

View Article


New Post: How to use HAPPhone APIs to achieve this function

Does the xml look like this: <text>Text you're trying to read</text> Assuming the above is true, you can create a list of text strings like this:...

View Article

New Post: How to check HtmlWeb.LoadAsync finished

Not sure if you thought of this, but why don't you just put all of the code that depends on the loaded content into the method that gets called when LoadAsync finishes? So everything after...

View Article

New Post: SelectNodes to return empty HtmlNodeCollection if no matching node...

I thought SelectNodes would be used in a LINQ fashion .... I was shocked when it returned null while I was trying to enumerate few elements ... come on guys its 2012 and this is LINQ world now ... it...

View Article
Browsing all 655 articles
Browse latest View live


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