One minute
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.
Thoughts on this post? Feel free to reach out on Bluesky!