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' someho开发者_Python百科w to this Xpath expression ?
with logical "and" operator:
doc.DocumentNode.SelectSingleNode("//table[@width='500' and @height='500']");
精彩评论