[MPlayer-DOCS] [PATCH] set doctype in generated HTML docs

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Mar 14 13:25:58 CET 2009


Hello,
the generated code validates only as transitional, still it seems better
to set at least some doctype...
Index: DOCS/xml/html-common.xsl
===================================================================
--- DOCS/xml/html-common.xsl    (revision 28942)
+++ DOCS/xml/html-common.xsl    (working copy)
@@ -2,7 +2,9 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 version="1.0">
 
-<xsl:output method="html" indent="no"/>
+<xsl:output method="html" indent="no"
+            doctype-system="http://www.w3.org/TR/html4/loose.dtd"
+            doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
  
 <!-- **************
      Set parameters




More information about the MPlayer-DOCS mailing list