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

New Post: Why can't I reliably extract links from nodes?

I'm looking at nodes that definitely contain links.  Sometimes I get the proper link by Node.Attributes["href"] but sometimes that's null and I can't see why it sometimes works and sometimes doesn't....

View Article


New Post: Kansas City Locksmith

Kansas City Locksmith is the best locksmith to come to you and unlock your vehicle or home/business. You have come to the right place because locksmith service in Kansas is undisputed the best in the...

View Article


New Post: not closing element properly

var sb = new StringBuilder("<html>\r\t<body>\r\t\t<select>\r"); sb.AppendLine("\t\t\t<option value =\"foobar\" selected=\"selected\">FooBar</option>");...

View Article

New Post: After initial SelectNodes(string) , html document in memory changed.

Hello , I would like to ask you guys some question about this problem. I wasn't sure if this is issue or not . So, I posted this on discussion. I currently try to parse each HtmlNode and it's xpath by...

View Article

New Post: HAP not working for Background Agents?

I have tried this twice so far but it seems that it is not able to run in the background.  Using this, I was able to verify that it does not go to DownLoadCompleted....

View Article


New Post: WP 7.1 version wants requires System.Xml.Xpath, this is not avabile

System.Xml.Xpath is not avabile on default windows phone os 7.1 so i dont know how you managed to compile it :D but i cant

View Article

New Post: Discussion page is now offline

don't bother asking any questions, nobody will answer - at least nobody has responded for the last 2 months, so don't waste your time.

View Article

New Post: How to use Html Agility Pack to find all nodes in the html document...

1   how  to  use   Html Agility Pack  to  find  all nodes in the html document ?2  how  to  remove  the attributes in each node  except ?3how to set   Xpath   to  find  all  nodes  of    or     ?

View Article


New Post: why some html pages does not turn to XML with Html Agility ??

example:           StringBuilder sbXml = new StringBuilder();            StringWriter sw = new StringWriter(sbXml);            XmlTextWriter tw = new XmlTextWriter(sw);            HtmlWeb htmlWeb = new...

View Article


New Post: Why can't I reliably extract links from nodes?

Hello!I canot give you final solution as there is no example of the HTML. I suppose it is something to do with Xpath expression that returns incorrect nodes in the nodeset. Also,sometimestag has no...

View Article

New Post: Read OnMouseOver Value

Hi,  I am using HTML Agility Pack 1.4.6 in my program. It is a Small Program. I am getting a HTML Tag Value from Web Page.So I am using HTML Agility Pack. It is very useful to me. It is a Lightweight...

View Article

New Post: Parsing certain parts from a .HTML file

Hello all,I'm wondering if someone can quickly walk me through how to use the elements in the HTMLAgilityPack. I need to grab certain links from a .HTML file and then certain bits of text from these...

View Article

New Post: How to dispose HtmlDocument?

+1I would also like to know the answer to this question. I am parsing a BIG HTML document (~1.5 Mb string send into LoadHtml), and the tree is taking up approximately 250 Mb of memory. After I've done...

View Article


New Post: not closing element properly

Blair,I was running into problem myself. My solution was to add these lines before and after I load the HTML into the document (which is when HtmlAgilityPack actual parses the tree): //...

View Article

New Post: modify output on the fly

Bump for this issue. I'm seeing it myself.Using .NET 4.5 and HtmlAgilityPack 1.4.6: using (var client = new WebClient())using (var stream = client.OpenRead(uri)) {var html = new HtmlDocument();...

View Article


New Post: modify output on the fly

What's more, if I run this on the stream returned by OpenRead(uri)new StreamReader(stream).ReadToEnd()I get the full string, as expected.In the end, the only way I found was to pass a string to...

View Article

New Post: Beginner Help

I’m trying to do something very simple with HtmlAgilityPack, I just don’t know anything about xml or nodes and I am having a lot of trouble pulling simple info from an HTML website.  Currently I am...

View Article


New Post: Multiple forms with no name or id

I need to parse form elements from a page that has two form tags one after another like...

View Article

New Post: get string from html code

hi,can someone give me hrlp about how can i use html agilitypack to get string from a html code for example i have this html code: "<font color=\"blue\">123456789<br><font...

View Article

New Post: How to dispose HtmlDocument?

Any chance one of the project members can help with this?One of the Stack Overflow answers suggests setting the doc to null and then doing GC.Collect() - surely there has to be better way then forcing...

View Article
Browsing all 655 articles
Browse latest View live


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