HTML to XHTML

I have been pondering the best approach for ensuring user supplied HTML is XHTML… and while it actually isn’t hard to validate whether or not a given block of HTML is valid XHTML, what I really wanted was something that would fix up some of the more basic errors. Well, MSDN Magazine to the rescue…

Web Q&A: ADO.NET Joins, HTML to XHTML, ASP.NET ViewState, and More
ADO.NET Joins, HTML to XHTML, ASP.NET ViewState, and More
Author: Edited by Nancy Michell

That article showed me a variety of components that would really help in this situation, including one from the InfoPath SDK and a COM component that wraps Tidy… very cool stuff.

Author: Duncan Mackenzie

I'm the Developer Lead for the Channel 9 team, formerly worked on MSDN as a developer, content strategist and author.

Leave a Reply

Your email address will not be published. Required fields are marked *