HTMLNode.Name containing pound sign in HtmlAgilityPack?
I have code using the Html Agility Pack. There is a line that compares the name of an HTML node to a string c开发者_C百科ontaining a pound sign. Does that make sense?
HtmlAgilityPack.HtmlNode node;
...
if (node.Name == "#text") ...
Yes it does.
Is is a Text Node. Because it is not contained by a <
and a >
.
精彩评论