Recommended approaches to parse HTML from a webclient call

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I saw an article a while back somewhere that talked about connecting to a
web page through WebClient then somehow loading the page into something that
does the HTML parsing for you. I usually backpedal and go the round-about
way using string manipulation.

What's the best thing to use so I can work with pre-parsed HTML?

Thanks.
Tim
 
Tim,

I would use the HtmlDocument class in MSHTML (you have to set a
reference in the COM tab for it) and have it parse the content for you.

Actually, I would go so far as to have it load it for you, if you want.

Hope this helps.
 
Back
Top