Usually, I solve this kind of issue via File I/O and RegEx (which is not advised at all to deal with xml/html documents, as the commentators dutifully noted).
That said, if you want to do it properly, I'm pretty sure there's a DOM object in C#.
This one seems to support XPath request, which is pretty handy.
Vinzz
2010-03-15 12:20:22