tags:

views:

53

answers:

1

Assuming I want to find a table with certain width and height attributes No problem with

doc.DocumentNode.SelectSingleNode("//table[@width='500']");

Would it be possible to add height='500' somehow to this Xpath expression ?

+2  A: 

with logical "and" operator:

doc.DocumentNode.SelectSingleNode("//table[@width='500' and @height='500']");
mykhal