Possible Duplicate:
Looking for C# HTML parser
I did some Google search and got a few hits but I wonder whether there is any particular existing code library that stands out from the crowd. Thanks a lot.
Possible Duplicate:
Looking for C# HTML parser
I did some Google search and got a few hits but I wonder whether there is any particular existing code library that stands out from the crowd. Thanks a lot.
A tool commonly recommended for this is the Html Agility Pack. It will take HTML and massage it into well-formed XHTML and then a traversable DOM, so is very useful for the code you find in the wild.
There are some examples and the API documentation here:
http://html-agility-pack.net/api
Some useful links: