Created
October 6, 2009 12:32
-
-
Save metafeather/202973 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
A quick code snippet to include the right XHTML DTD in your XSL generated output. This took me a bit of reseach to find out: | |
--> | |
<xsl:output | |
method="xml" | |
encoding="utf-8" | |
omit-xml-declaration="yes" | |
indent="no" | |
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" | |
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" /> | |
<!-- | |
Another tidbit to exclude unwanted namespace declarations from the output. | |
--> | |
<xsl:output | |
exclude-result-prefixes="media" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment