XML Parsing With HtmlAgilityPack
I'm parsing xml with HtmlAgilityPack on WebService worker role, but there is something wrong. When I select childnode 'link' get empty char. the xml like : http://www
Solution 1:
Put that line before loading HtmlDocument
HtmlNode.ElementsFlags["link"] = HtmlElementFlag.Closed;
That is all.
By default, its value is HtmlElementFlag.Empty
and treated like meta
and img
tags...
Post a Comment for "XML Parsing With HtmlAgilityPack"