J
John Williams
How do I load a HTML page (via URL) and parse the DOM in a Console
Application?
I've successfully done all this in a Windows Application by using the
WebBrowser control, calling the Navigate method on the specified URL, and
then, within the DocumentComplete event, parsing the HTML page using
mshtml.HTMLDocument.
I'm writing it as a console app because I don't need to display the HTML,
just search for a specific tag and retrieve a href value from it.
Thanks for any help on this.
Application?
I've successfully done all this in a Windows Application by using the
WebBrowser control, calling the Navigate method on the specified URL, and
then, within the DocumentComplete event, parsing the HTML page using
mshtml.HTMLDocument.
I'm writing it as a console app because I don't need to display the HTML,
just search for a specific tag and retrieve a href value from it.
Thanks for any help on this.