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

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


New Post: HtmlAgilitypack on strings C#

Yes it will still work but you will be unable to get the text before and after the first tagse.g.abcdhij dsfghp.DocumentNode.SelectNodes("//div").InnerText == "hij"

View Article

New Post: HtmlAgilitypack on strings C#

Thank you for the answer I suppose I will keep trying to get my Regex to match. I do see the advantage in a html-parser, but I don't think it'll work in this instance where the plain-text is also...

View Article


New Post: HtmlAgilitypack on strings C#

If you need help with regex give us a shout have done some complicated regex in the past.LeeOn Jan 30, 2013 7:17 PM, "Lobsterfun" <notifications@codeplex.com> wrote:From: LobsterfunThank you for...

View Article

New Post: HtmlAgilitypack on strings C#

I actually have a pretty big issue.I am printing to a pdf in C# and my boss wanted me to implement tinymce which went fine. Unfortunately we are using an old pdf printer-class that only supports b, i...

View Article

New Post: Parsing HTML Table Data

Hi eosjack,Did you find the solution for case sensitivity?

View Article
Browsing all 450 articles
Browse latest View live


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