Setting Xsl Doctype
I have an issue viewing an application in IE8+... Specifically, in IE9, when opening developer tools, its seems IE7 Standards is set as Document Mode.. Upon viewing source, i think
Solution 1:
In short, you can't. <!DOCTYPE html>
is (deliberately by the HTML5 spec) no valid XML doctype (and no valid SGML, too, which HTML 4 was).
The HTML5 spec dictates this doctype, instead:
<!DOCTYPE htmlSYSTEM"about:legacy-compat">
You can generate it with this output
:
<xsl:output method="xml" doctype-system="about:legacy-compat"/>
However, when the XSLT processor wants to process/validate the system identifier, it will fail. AFAIK, it should work in MSXML.
Post a Comment for "Setting Xsl Doctype"