Content With Style had a good blog post highlighting this problem, but it seems that the doctype has since changed. The current HTML5 spec outlines the current accepted doctype including the doctype that XSLT-generated documents can use.
So here's the xsl:output string I needed to use:
<xsl:output method="html"
doctype-system="about:legacy-compat"
indent="yes"/>
No comments:
Post a Comment