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

problems to find multiple results

description

I have a website which has to div tags with attribute class="xyz".

To find the div (and it's childs) I tried:

var result = doc.DocumentNode.Descendants("div")
.Where(d => d.Attributes.Contains("class") &&
d.Attributes["class"].Value.Contains("pricebox"));

there should be two results but I only get one.

any ideas?

comments