Hi ,
Can any one suggest how can i write the xpath for the following .
1) if i want <span> tag to have either the text or the <br> tag within it
I tried this
_ htmldoc.DocumentNode.SelectNodes("not[//span//br]")_ but din't worked.
2)<a> tag can either have <span> or <img> as its child node ,
Can any one suggest how can i write the xpath for the following .
1) if i want <span> tag to have either the text or the <br> tag within it
I tried this
_ htmldoc.DocumentNode.SelectNodes("not[//span//br]")_ but din't worked.
2)<a> tag can either have <span> or <img> as its child node ,