I haven't used it in a bit, but, it lets you edit many different types. Last time I used it, it was for XHTML, and it worked like a charm. It took me a while to really find a good non-mac based program that did this. It comes with a free two week trial I believe? You can also purchse the commercial license.
http://www.bradsoft.com/