If anyone is interested, I have done the same thing using another method. Instead of relying on text search and replace, you can just create your own HTMLTextWriter. I use XHTMLTextWriter when I want to write XHTML, and the standard when I don't. It's a wee bit more robust that way, perhaps even faster. If anyone's interested in altering .NET this way, just email me directly.
G'day Ryan
I'm always interested in the hoops people have had to jump through to make ASP.NET valid. I'd love to see how you chose to do it. Most folks seem to do it all as a rewrite after the fact - effective but resource-hungry and a killer for large sites
Feel free to drop me a line when you have some free time and let me know what you did
Cheers, Lachlan ****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************