XHTML with the new XhtmlTextWriter Class

Jan 11, 2008 at 6:13 AM
I notice that in ASP.NET 3.5 there's a XhtmlTextWriter Class (http://msdn2.microsoft.com/en-us/library/system.web.ui.xhtmltextwriter.aspx).

Could that be substituted to create XML-compliant output from the editor?