This project has moved and is read-only. For the latest updates, please go here.

Get HTMLNode value null

Topics: Developer Forum, User Forum
Oct 31, 2008 at 8:49 PM
hi I writing that simple code
string description ="<p>It is easy to dev";
HtmlNode node = doc.DocumentNode.SelectSingleNode(".//*[starts-with(.,\"" + description + "\")]");

Getting node= null but this string is available in my documnet.

if i remove HTML tag <p> both form description string and Document it work.

Why it is not working if HTML tag available ?