I want to select nodes which have attribute class with some value not specifying tag.
How to do it?
So far I have:
html.DocumentNode.SelectNodes("//[@class='value']"); But it's not working good as far as I see it.
For instance, let me have this kind of HTML code:
<div> <div class="value"></div> <a class="value"></div> </div> it would need to give me back those 2 elements inside of <div>, so <div> and <a>. Is that possible?