Skip to content

Instantly share code, notes, and snippets.

@ijy
Created September 15, 2013 22:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ijy/6574717 to your computer and use it in GitHub Desktop.
Save ijy/6574717 to your computer and use it in GitHub Desktop.
Force use of a dummy DTD (about:legacy-compat), which is the W3C recommended way of not using a standard DTD URI. Now the W3C validator will happily validate against the HTML5 specification rather than the XHTML 1.0 specification.
<xsl:output
method="xml"
doctype-system="about:legacy-compat"
encoding="UTF-8"
indent="yes" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment