views:

29

answers:

1

Currently I'm using the IHTMLDocument2 and IHTMLElementCollection to parse HTML, is there some way to parse it using some sort of xpath/selectors, something like

elements = find_html_elements("a .link[rel=100]") ?
+2  A: 

You can download and use the HTML agility pack - it supports Xpath.

Oded