<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>Html Agility Pack</title><link>http://htmlagilitypack.codeplex.com/project/feeds/rss</link><description>This is an HTML parser that builds a read&amp;#47;write DOM from &amp;#8220;real world&amp;#8221; HTML files. It supports XPATH or XSLT and is tolerant with &amp;#34;real world&amp;#34; malformed HTML.</description><item><title>New Post: KeyNotFoundException when searching for "apos"</title><link>http://htmlagilitypack.codeplex.com/discussions/444915</link><description>&lt;div style="line-height: normal;"&gt;I hit the following exception:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;System.Collections.Generic.KeyNotFoundException was unhandled by user code
  HResult=-2146232969
  Message=The given key was not present in the dictionary.
  Source=mscorlib
  StackTrace:
       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at HtmlAgilityPack.HtmlEntity.DeEntitize(String text) in D:\Source\htmlagilitypack.new\Trunk\HtmlAgilityPack\HtmlEntity.cs:line 646
       at HtmlAgilityPack.HtmlToText.ConvertTo(HtmlNode node, TextWriter outText) in HtmlConvert.cs:line 62
       at HtmlAgilityPack.HtmlToText.ConvertContentTo(HtmlNode node, TextWriter outText) in \HtmlConvert.cs:line 31
       at HtmlAgilityPack.HtmlToText.ConvertTo(HtmlNode node, TextWriter outText) in HtmlConvert.cs:line 75
       at HtmlAgilityPack.HtmlToText.ConvertContentTo(HtmlNode node, TextWriter outText) in HtmlConvert.cs:line 31
       at HtmlAgilityPack.HtmlToText.ConvertTo(HtmlNode node, TextWriter outText) in HtmlConvert.cs:line 43
       at HtmlAgilityPack.HtmlToText.ConvertHtml(String html) in HtmlConvert.cs:line 24
       ...&lt;/code&gt;&lt;/pre&gt;

The key that it was trying to look up is &amp;quot;apos&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Here is the markup originally generated generated by an HtmlRichTextBox that my application was trying to convert:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;&amp;quot;&amp;lt;font face=\&amp;quot;Microsoft Sans Serif\&amp;quot; color=\&amp;quot;#000000\&amp;quot; size=\&amp;quot;2\&amp;quot;&amp;gt;&amp;lt;p align=\&amp;quot;left\&amp;quot;&amp;gt;&amp;amp;apos;&amp;lt;/font&amp;gt;&amp;quot;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>mjsavadine</author><pubDate>Fri, 24 May 2013 17:29:37 GMT</pubDate><guid isPermaLink="false">New Post: KeyNotFoundException when searching for "apos" 20130524052937P</guid></item><item><title>New Post: KeyNotFoundException when searching for "apos"</title><link>http://htmlagilitypack.codeplex.com/discussions/444915</link><description>&lt;div style="line-height: normal;"&gt;I hit the following exception:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;System.Collections.Generic.KeyNotFoundException was unhandled by user code
  HResult=-2146232969
  Message=The given key was not present in the dictionary.
  Source=mscorlib
  StackTrace:
       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at HtmlAgilityPack.HtmlEntity.DeEntitize(String text) in D:\Source\htmlagilitypack.new\Trunk\HtmlAgilityPack\HtmlEntity.cs:line 646
       at HtmlAgilityPack.HtmlToText.ConvertTo(HtmlNode node, TextWriter outText) in HtmlConvert.cs:line 62
       at HtmlAgilityPack.HtmlToText.ConvertContentTo(HtmlNode node, TextWriter outText) in \HtmlConvert.cs:line 31
       at HtmlAgilityPack.HtmlToText.ConvertTo(HtmlNode node, TextWriter outText) in HtmlConvert.cs:line 75
       at HtmlAgilityPack.HtmlToText.ConvertContentTo(HtmlNode node, TextWriter outText) in HtmlConvert.cs:line 31
       at HtmlAgilityPack.HtmlToText.ConvertTo(HtmlNode node, TextWriter outText) in HtmlConvert.cs:line 43
       at HtmlAgilityPack.HtmlToText.ConvertHtml(String html) in HtmlConvert.cs:line 24
       ...&lt;/code&gt;&lt;/pre&gt;

The key that it was trying to look up is &amp;quot;apos&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Here is the markup originally generated generated by an HtmlRichTextBox that my application was trying to convert:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;&amp;quot;&amp;lt;font face=\&amp;quot;Microsoft Sans Serif\&amp;quot; color=\&amp;quot;#000000\&amp;quot; size=\&amp;quot;2\&amp;quot;&amp;gt;&amp;lt;p align=\&amp;quot;left\&amp;quot;&amp;gt;&amp;amp;apos;&amp;lt;/font&amp;gt;&amp;quot;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>mjsavadine</author><pubDate>Fri, 24 May 2013 17:29:37 GMT</pubDate><guid isPermaLink="false">New Post: KeyNotFoundException when searching for "apos" 20130524052937P</guid></item><item><title>Reviewed: HAP 1.4.6 (Thg5 24, 2013)</title><link>https://htmlagilitypack.codeplex.com/releases/view/90925#ReviewBy-hoangvansang</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - HtmlAgilityPack  very Good</description><author>hoangvansang</author><pubDate>Fri, 24 May 2013 08:08:06 GMT</pubDate><guid isPermaLink="false">Reviewed: HAP 1.4.6 (Thg5 24, 2013) 20130524080806A</guid></item><item><title>New Post: how find input of form in html with htmlagilitypack?</title><link>http://htmlagilitypack.codeplex.com/discussions/444206</link><description>&lt;div style="line-height: normal;"&gt;I have a program that you're using htmlagilitypack, which dll's I've added it into the html code of the program, we'll find a form to input.&lt;br /&gt;
So explain. Plan to tag form (form) after the detection of the input resulted in him somewhere to put them on the operation took place.&lt;br /&gt;
I put the code I ended up doing all the forms and all the cares in the input form, which is mine, and took the game without it's a and there's a I was doing here method.&lt;br /&gt;
I come from the input of each form and method which can be determined from the finished work are input form.&lt;br /&gt;
Please guide.&lt;br /&gt;
&lt;br /&gt;
my code:&lt;br /&gt;
HtmlNodeCollection forms = doc.DocumentNode.SelectNodes(&amp;quot;//form&amp;quot;);&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;                    if (forms != null &amp;amp;&amp;amp; forms.Count &amp;gt; 0)
                    {
                        FormMethod = forms[0].GetAttributeValue(&amp;quot;method&amp;quot;, &amp;quot;POST&amp;quot;).ToUpper();
                        HtmlNodeCollection inputs = doc.DocumentNode.SelectNodes(&amp;quot;//input&amp;quot;);
                        foreach (HtmlNode input in inputs)
                        {
                            string TypeName = &amp;quot;&amp;quot;;
                            if (input.Attributes.Contains(&amp;quot;type&amp;quot;))
                                TypeName = input.Attributes[&amp;quot;type&amp;quot;].Value.ToString();


                            if (
                                string.Compare(TypeName, &amp;quot;button&amp;quot;, true) != 0 &amp;amp;&amp;amp;
                                string.Compare(TypeName, &amp;quot;image&amp;quot;, true) != 0 

                                )
                            {
                                try
                                {
                                    InputsControls += input.Attributes[&amp;quot;name&amp;quot;].Value.ToString() + &amp;quot;\r&amp;quot;;
                                }
                                catch (Exception)
                                {
                                }
                            }
                        }
                    }&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>evr</author><pubDate>Sun, 19 May 2013 18:28:07 GMT</pubDate><guid isPermaLink="false">New Post: how find input of form in html with htmlagilitypack? 20130519062807P</guid></item><item><title>New Post: not found HtmlWeb.cs</title><link>http://htmlagilitypack.codeplex.com/discussions/444152</link><description>&lt;div style="line-height: normal;"&gt;Hi!, when I want to create a new instance of a class HtmlWeb, I get the following error:&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://img59.imageshack.us/img59/205/error1jm.jpg" alt="Image" /&gt;&lt;br /&gt;
&lt;img src="http://img547.imageshack.us/img547/8623/sinttulogl.jpg" alt="Image" /&gt;&lt;br /&gt;
&lt;br /&gt;
I progrando with WinRT + vb + xaml.&lt;br /&gt;
Thank you very much.&lt;br /&gt;
&lt;/div&gt;</description><author>Matute2008</author><pubDate>Sat, 18 May 2013 19:28:08 GMT</pubDate><guid isPermaLink="false">New Post: not found HtmlWeb.cs 20130518072808P</guid></item><item><title>New Post: not found HtmlWeb.cs</title><link>http://htmlagilitypack.codeplex.com/discussions/444152</link><description>&lt;div style="line-height: normal;"&gt;Hi!, when I want to create a new instance of a class HtmlWeb, I get the following error:&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://img59.imageshack.us/img59/205/error1jm.jpg" alt="Image" /&gt;&lt;br /&gt;
&lt;img src="http://img547.imageshack.us/img547/8623/sinttulogl.jpg" alt="Image" /&gt;&lt;br /&gt;
&lt;br /&gt;
I progrando with WinRT + vb + xaml.&lt;br /&gt;
Thank you very much.&lt;br /&gt;
&lt;/div&gt;</description><author>Matute2008</author><pubDate>Sat, 18 May 2013 19:28:08 GMT</pubDate><guid isPermaLink="false">New Post: not found HtmlWeb.cs 20130518072808P</guid></item><item><title>New Post: not found HtmlWeb.cs</title><link>http://htmlagilitypack.codeplex.com/discussions/444152</link><description>&lt;div style="line-height: normal;"&gt;Hi!, when I want to create a new instance of a class HtmlWeb, I get the following error:&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://img59.imageshack.us/img59/205/error1jm.jpg" alt="Image" /&gt;&lt;br /&gt;
&lt;img src="http://img547.imageshack.us/img547/8623/sinttulogl.jpg" alt="Image" /&gt;&lt;br /&gt;
&lt;br /&gt;
I progrando with WinRT + vb + xaml.&lt;br /&gt;
Thank you very much.&lt;br /&gt;
&lt;/div&gt;</description><author>Matute2008</author><pubDate>Sat, 18 May 2013 19:28:08 GMT</pubDate><guid isPermaLink="false">New Post: not found HtmlWeb.cs 20130518072808P</guid></item><item><title>New Post: not found HtmlWeb.cs</title><link>http://htmlagilitypack.codeplex.com/discussions/444152</link><description>&lt;div style="line-height: normal;"&gt;Hi!, when I want to create a new instance of a class HtmlWeb, I get the following error:&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://img59.imageshack.us/img59/205/error1jm.jpg" alt="Image" /&gt;&lt;br /&gt;
&lt;img src="http://img547.imageshack.us/img547/8623/sinttulogl.jpg" alt="Image" /&gt;&lt;br /&gt;
&lt;br /&gt;
I progrando with WinRT + vb + xaml.&lt;br /&gt;
Thank you very much.&lt;br /&gt;
&lt;/div&gt;</description><author>Matute2008</author><pubDate>Sat, 18 May 2013 19:28:08 GMT</pubDate><guid isPermaLink="false">New Post: not found HtmlWeb.cs 20130518072808P</guid></item><item><title>Commented Unassigned: htmlDoc.DocumentNode.SelectNodes("//ul/div[@class='p-normal']")只能得到得一个 [34066]</title><link>http://htmlagilitypack.codeplex.com/workitem/34066</link><description>foreach &amp;#40;HtmlNode item in htmlDoc.DocumentNode.SelectNodes&amp;#40;&amp;#34;&amp;#47;&amp;#47;ul&amp;#47;div&amp;#91;&amp;#64;class&amp;#61;&amp;#39;p-normal&amp;#39;&amp;#93;&amp;#34;&amp;#41;&amp;#41;&lt;br /&gt;                    &amp;#123;&lt;br /&gt;                        for &amp;#40;int j &amp;#61; 1&amp;#59; j &amp;#60; 31&amp;#59; j&amp;#43;&amp;#43;&amp;#41;&lt;br /&gt;                        &amp;#123;&lt;br /&gt;                            if &amp;#40;item.SelectNodes&amp;#40;&amp;#34;ul&amp;#47;li&amp;#91;&amp;#34; &amp;#43; j.ToString&amp;#40;&amp;#41; &amp;#43; &amp;#34;&amp;#93;&amp;#34;&amp;#41; &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;                            &amp;#123;&lt;br /&gt;                                foreach &amp;#40;HtmlNode ac in item.SelectNodes&amp;#40;&amp;#34;ul&amp;#47;li&amp;#91;&amp;#34; &amp;#43; j.ToString&amp;#40;&amp;#41; &amp;#43; &amp;#34;&amp;#93;&amp;#34;&amp;#41;&amp;#41;&lt;br /&gt;                                &amp;#123;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                                &amp;#125;&lt;br /&gt;                            &amp;#125;&lt;br /&gt;                        &amp;#125;&lt;br /&gt;                  &lt;br /&gt;                           &lt;br /&gt;                    &amp;#125;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#47;&amp;#47;&lt;br /&gt;   public class loveganli&lt;br /&gt;        &amp;#123;&lt;br /&gt;            public string userid&amp;#59;&lt;br /&gt;            public string img&amp;#59;&lt;br /&gt;            public string trace_link&amp;#59;&lt;br /&gt;            public string trace&amp;#59;&lt;br /&gt;            public string age&amp;#59;&lt;br /&gt;            public string height&amp;#59;&lt;br /&gt;            public string magic&amp;#59;&lt;br /&gt;            public string place&amp;#59;&lt;br /&gt;&lt;br /&gt;        &amp;#125;&lt;br /&gt;Comments: ** Comment from web user: zhouweiaccp ** &lt;p&gt;  //           //list.Add(new loveganli&lt;br&gt;                        //           // {&lt;br&gt;                        //           //     trace = ac.SelectSingleNode(&amp;quot;//div[@class='p-lconl']/p[@class='p-name']/a&amp;quot;).Attributes[&amp;quot;href&amp;quot;].Value,&lt;br&gt;                        //           //     trace_link = ac.SelectSingleNode(&amp;quot;//div[@class='p-lconl']/p[@class='p-name']/a&amp;quot;).InnerText,&lt;br&gt;                        //           //     userid = ac.Id,&lt;br&gt;                        //           //     age = ac.SelectSingleNode(&amp;quot;//div[@class='p-lconl']/p[@class='p-detail']/span[1]&amp;quot;).InnerText,&lt;br&gt;                        //           //     height = ac.SelectSingleNode(&amp;quot;//div[@class='p-lconl']/p[@class='p-detail']/span[2]&amp;quot;).InnerText,&lt;br&gt;                        //           //     place = ac.SelectSingleNode(&amp;quot;//div[@class='p-lconl']/p[@class='p-detail']/span[4]&amp;quot;).InnerText,&lt;br&gt;                        //           //     magic = ac.SelectSingleNode(&amp;quot;//div[@class='p-lconl']/p[@class='p-detail']/span[3]&amp;quot;).InnerText,&lt;br&gt;                        //           //     img = ac.SelectSingleNode(&amp;quot;//div[@class='p-lconr']/a/img&amp;quot;).Attributes[&amp;quot;src&amp;quot;].Value&lt;/p&gt;&lt;p&gt;&lt;br&gt;                        //           // });&lt;/p&gt;&lt;p&gt;&lt;br&gt;这里面永远是第一个li 子类（ ac.SelectSingleNode(&amp;quot;//div[@class='p-lconl']/p[@class='p-detail']/span[3]&amp;quot;).）&lt;/p&gt;</description><author>zhouweiaccp</author><pubDate>Fri, 17 May 2013 15:30:17 GMT</pubDate><guid isPermaLink="false">Commented Unassigned: htmlDoc.DocumentNode.SelectNodes("//ul/div[@class='p-normal']")只能得到得一个 [34066] 20130517033017P</guid></item><item><title>Created Unassigned: htmlDoc.DocumentNode.SelectNodes("//ul/div[@class='p-normal']")只能得到得一个 [34066]</title><link>http://htmlagilitypack.codeplex.com/workitem/34066</link><description>foreach &amp;#40;HtmlNode item in htmlDoc.DocumentNode.SelectNodes&amp;#40;&amp;#34;&amp;#47;&amp;#47;ul&amp;#47;div&amp;#91;&amp;#64;class&amp;#61;&amp;#39;p-normal&amp;#39;&amp;#93;&amp;#34;&amp;#41;&amp;#41;&lt;br /&gt;                    &amp;#123;&lt;br /&gt;                        for &amp;#40;int j &amp;#61; 1&amp;#59; j &amp;#60; 31&amp;#59; j&amp;#43;&amp;#43;&amp;#41;&lt;br /&gt;                        &amp;#123;&lt;br /&gt;                            if &amp;#40;item.SelectNodes&amp;#40;&amp;#34;ul&amp;#47;li&amp;#91;&amp;#34; &amp;#43; j.ToString&amp;#40;&amp;#41; &amp;#43; &amp;#34;&amp;#93;&amp;#34;&amp;#41; &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;                            &amp;#123;&lt;br /&gt;                                foreach &amp;#40;HtmlNode ac in item.SelectNodes&amp;#40;&amp;#34;ul&amp;#47;li&amp;#91;&amp;#34; &amp;#43; j.ToString&amp;#40;&amp;#41; &amp;#43; &amp;#34;&amp;#93;&amp;#34;&amp;#41;&amp;#41;&lt;br /&gt;                                &amp;#123;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                                &amp;#125;&lt;br /&gt;                            &amp;#125;&lt;br /&gt;                        &amp;#125;&lt;br /&gt;                  &lt;br /&gt;                           &lt;br /&gt;                    &amp;#125;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#47;&amp;#47;&lt;br /&gt;   public class loveganli&lt;br /&gt;        &amp;#123;&lt;br /&gt;            public string userid&amp;#59;&lt;br /&gt;            public string img&amp;#59;&lt;br /&gt;            public string trace_link&amp;#59;&lt;br /&gt;            public string trace&amp;#59;&lt;br /&gt;            public string age&amp;#59;&lt;br /&gt;            public string height&amp;#59;&lt;br /&gt;            public string magic&amp;#59;&lt;br /&gt;            public string place&amp;#59;&lt;br /&gt;&lt;br /&gt;        &amp;#125;&lt;br /&gt;</description><author>zhouweiaccp</author><pubDate>Fri, 17 May 2013 15:27:16 GMT</pubDate><guid isPermaLink="false">Created Unassigned: htmlDoc.DocumentNode.SelectNodes("//ul/div[@class='p-normal']")只能得到得一个 [34066] 20130517032716P</guid></item><item><title>Closed Issue: Throw ArgumentException If Charset Is Invalid [8541]</title><link>http://htmlagilitypack.codeplex.com/workitem/8541</link><description>For a html page like below. charset is empty or invalid string&lt;br /&gt;&amp;#60;html&amp;#62;&lt;br /&gt;...&lt;br /&gt;&amp;#60;head&amp;#62;&lt;br /&gt;&amp;#60;meta http-equiv&amp;#61;&amp;#34;Content-Type&amp;#34; content&amp;#61;&amp;#34;text&amp;#47;html&amp;#59; charset&amp;#61;&amp;#34;&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;head&amp;#62;&lt;br /&gt;...&lt;br /&gt;&amp;#60;&amp;#47;html&amp;#62;&lt;br /&gt;&amp;#160;&lt;br /&gt;Parsing of the document would throw a ArgumentException. This is not user-friendly. It is preferable to have HtmlAgility ignore invalid charset value.&lt;br /&gt;&amp;#160;&lt;br /&gt;Root cause is in file HtmlDocument.cs, function ReadDocumentEncoding, Encoding.GetEncoding&amp;#40;charset&amp;#41; throws a ArgumentException if the argument is not invalid charset name.&lt;br /&gt;</description><author>DarthObiwan</author><pubDate>Thu, 16 May 2013 12:33:01 GMT</pubDate><guid isPermaLink="false">Closed Issue: Throw ArgumentException If Charset Is Invalid [8541] 20130516123301P</guid></item><item><title>Closed Issue: HtmlNode.XPath Property [12095]</title><link>http://htmlagilitypack.codeplex.com/workitem/12095</link><description>It would be nice to see an XPath property of the HTML Node class that return&amp;#39;s a node&amp;#39;s absolute xpath.&lt;br /&gt;</description><author>DarthObiwan</author><pubDate>Thu, 16 May 2013 12:33:01 GMT</pubDate><guid isPermaLink="false">Closed Issue: HtmlNode.XPath Property [12095] 20130516123301P</guid></item><item><title>Closed Issue: OptionOutputOriginalCase is ignored for attributes when not outputting XML [25278]</title><link>http://htmlagilitypack.codeplex.com/workitem/25278</link><description>I&amp;#39;ve been using Html Agility Pack to automatically modify some HTML forms and insert ASP.NET tags into them. I ran into a problem whereby I could specify attributes with names such as &amp;#34;AssociatedControlID&amp;#34;, but they would always be output as &amp;#34;associatedcontrolid&amp;#34;, even when OptionOutputOriginalCase was set to true. I had a look in the source for the library and the problem appears to be in HtmlNode.WriteAttribute. The check for OptionOutputOriginalCase &amp;#61; true is only carried out if OptionOutputAsXml is also true. I think this option should be checked in either case, and if it is true, the original attribute name used. Unfortunately, I can&amp;#39;t switch on XML output, as this causes problems with ASP.NET tag names like &amp;#34;asp&amp;#58;TextBox&amp;#34;, so I&amp;#39;m using a modified version of the library to get around the problem for now.&lt;br /&gt;</description><author>arsh</author><pubDate>Thu, 16 May 2013 12:32:58 GMT</pubDate><guid isPermaLink="false">Closed Issue: OptionOutputOriginalCase is ignored for attributes when not outputting XML [25278] 20130516123258P</guid></item><item><title>Closed Issue: HtmlNode.Ancestors() method does not include ParentNode [30608]</title><link>http://htmlagilitypack.codeplex.com/workitem/30608</link><description>The HtmlNode.Ancestors&amp;#40;&amp;#41; method does not include the parent node in the list of ancestors returned. The first ancestor returned is the grandparent node, then the great grandparent node etc. In other words the parent node is skipped.&lt;br /&gt;&amp;#160;&lt;br /&gt;        &amp;#47;&amp;#47;&amp;#47; &amp;#60;summary&amp;#62;&lt;br /&gt;        &amp;#47;&amp;#47;&amp;#47; Returns a collection of all ancestor nodes of this element.&lt;br /&gt;        &amp;#47;&amp;#47;&amp;#47; &amp;#60;&amp;#47;summary&amp;#62;&lt;br /&gt;        &amp;#47;&amp;#47;&amp;#47; &amp;#60;returns&amp;#62;&amp;#60;&amp;#47;returns&amp;#62;&lt;br /&gt;        public IEnumerable&amp;#60;HtmlNode&amp;#62; Ancestors&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            HtmlNode node &amp;#61; ParentNode&amp;#59;&lt;br /&gt;            while &amp;#40;node.ParentNode &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                yield return node.ParentNode&amp;#59;&lt;br /&gt;                node &amp;#61; node.ParentNode&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&amp;#160;&lt;br /&gt;This is inconsistent with the HtmlNode.Ancestors&amp;#40;string name&amp;#41; method, which does return the parent &amp;#40;assuming the name matches the name parameter&amp;#41;.&lt;br /&gt;&amp;#160;&lt;br /&gt;Both overloads of HtmlNode.AncestorsAndSelf also return the parent node.&lt;br /&gt;&amp;#160;&lt;br /&gt;A simple fix is to initialise the node variable with this rather than ParentNode.&lt;br /&gt;</description><author>DarthObiwan</author><pubDate>Thu, 16 May 2013 12:32:57 GMT</pubDate><guid isPermaLink="false">Closed Issue: HtmlNode.Ancestors() method does not include ParentNode [30608] 20130516123257P</guid></item><item><title>Reviewed: HAP 1.4.6 (Thg5 16, 2013)</title><link>https://htmlagilitypack.codeplex.com/releases/view/90925#ReviewBy-binharseneuit</link><description>Rated 4 Stars &amp;#40;out of 5&amp;#41; - Not quiet good for Windows 8</description><author>binharseneuit</author><pubDate>Thu, 16 May 2013 09:19:56 GMT</pubDate><guid isPermaLink="false">Reviewed: HAP 1.4.6 (Thg5 16, 2013) 20130516091956A</guid></item><item><title>Created Issue: HtmlDocument.DetectEncoding(Stream) [34033]</title><link>http://htmlagilitypack.codeplex.com/workitem/34033</link><description>HtmlAgilityPack.HtmlDocument.DetectEncoding&amp;#40;Stream&amp;#41;&lt;br /&gt;&lt;br /&gt;This method can&amp;#39;t detect Stream by &amp;#34;GBK&amp;#34; encoding.&lt;br /&gt;</description><author>LyZane</author><pubDate>Thu, 09 May 2013 03:32:21 GMT</pubDate><guid isPermaLink="false">Created Issue: HtmlDocument.DetectEncoding(Stream) [34033] 20130509033221A</guid></item><item><title>New Post: [resolved] How to import ?</title><link>http://htmlagilitypack.codeplex.com/discussions/442927</link><description>&lt;div style="line-height: normal;"&gt;Ok, it's resolve. &lt;br /&gt;
I've imported the .dll with Nugget Manager. Easy way.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;/div&gt;</description><author>Blooheek</author><pubDate>Wed, 08 May 2013 10:35:18 GMT</pubDate><guid isPermaLink="false">New Post: [resolved] How to import ? 20130508103518A</guid></item><item><title>New Post: How to import ?</title><link>http://htmlagilitypack.codeplex.com/discussions/442927</link><description>&lt;div style="line-height: normal;"&gt;Hi, i'm new in this project and I would to use this for parse html but i don't succeed to import the .dll file.&lt;br /&gt;
When I do, visual studio out &amp;quot;a Superior reference or an incomaptible assembly can't be add to this project..&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Can I have an explication how to import, plz ?&lt;br /&gt;
&lt;br /&gt;
Thanks a lot.&lt;br /&gt;
&lt;/div&gt;</description><author>Blooheek</author><pubDate>Wed, 08 May 2013 09:46:29 GMT</pubDate><guid isPermaLink="false">New Post: How to import ? 20130508094629A</guid></item><item><title>New Post: Paging problem</title><link>http://htmlagilitypack.codeplex.com/discussions/442857</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I have a website to scrape which has paging on it. When I use HTML Agility to download the HTML data it always loads first page. But when I paste the same url on browser it just works fine.&lt;br /&gt;
Url look like this &amp;quot;&lt;a href="http://sampleurl.url/?q=something&amp;amp;page=5" rel="nofollow"&gt;http://sampleurl.url/?q=something&amp;page=5&lt;/a&gt;&amp;quot;&lt;br /&gt;
&lt;/div&gt;</description><author>ga7188</author><pubDate>Tue, 07 May 2013 19:23:24 GMT</pubDate><guid isPermaLink="false">New Post: Paging problem 20130507072324P</guid></item><item><title>New Post: Paging problem</title><link>http://htmlagilitypack.codeplex.com/discussions/442857</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I have a website to scrape which has paging on it. When I use HTML Agility to download the HTML data it always loads first page. But when I paste the same url on browser it just works fine.&lt;br /&gt;
Url look like this &amp;quot;&lt;a href="http://sampleurl.url/?q=something&amp;amp;page=5" rel="nofollow"&gt;http://sampleurl.url/?q=something&amp;page=5&lt;/a&gt;&amp;quot;&lt;br /&gt;
&lt;/div&gt;</description><author>ga7188</author><pubDate>Tue, 07 May 2013 19:23:24 GMT</pubDate><guid isPermaLink="false">New Post: Paging problem 20130507072324P</guid></item></channel></rss>