Thursday 15 January 2009

XSLT and .NET user control breaks in IE7

I was getting random XHTML in my IE7 page due to me HAVE an XSLT above my .NET user control. A change in the XSLT solved this issue:

xsl:output method="html" declaration="yes"


Instead of

xsl:output method="xml" declaration="yes" />

No comments: