diff options
author | Markus Meier <maekke@gentoo.org> | 2015-05-31 11:29:41 +0200 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2015-05-31 11:29:41 +0200 |
commit | e918c7dc8268c4a4723ab4b3a35479f4d191a765 (patch) | |
tree | b894b9ae65748500c07f8b1f707d3f62aba708d7 | |
parent | Update ebuild naming rules from PMS. (diff) | |
download | devmanual-e918c7dc8268c4a4723ab4b3a35479f4d191a765.tar.gz devmanual-e918c7dc8268c4a4723ab4b3a35479f4d191a765.tar.bz2 devmanual-e918c7dc8268c4a4723ab4b3a35479f4d191a765.zip |
use HTML5 doctype instead of xhtml one
-rw-r--r-- | devbook.xsl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/devbook.xsl b/devbook.xsl index c23a6fc..407e910 100644 --- a/devbook.xsl +++ b/devbook.xsl @@ -2,8 +2,7 @@ xmlns:str="http://exslt.org/strings" xmlns:exslt="http://exslt.org/common" extension-element-prefixes="str exslt xsl" - exclude-result-prefixes="str exslt xsl" - xmlns="http://www.w3.org/1999/xhtml"> + exclude-result-prefixes="str exslt xsl"> <xsl:import href="xsl/str.tokenize.function.xsl"/> <xsl:import href="xsl/lang.highlight.c.xsl"/> @@ -12,8 +11,7 @@ <xsl:import href="xsl/lang.highlight.m4.xsl"/> <xsl:import href="xsl/lang.highlight.sgml.xsl"/> -<xsl:output method="xml" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" indent="yes"/> +<xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/> <xsl:variable name="newline"> <xsl:text> @@ -416,7 +414,8 @@ </xsl:template> <xsl:template match="/"> - <html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> + <xsl:text disable-output-escaping='yes'><!DOCTYPE html></xsl:text> + <html> <head> <title>Gentoo Development Guide: <xsl:value-of select="/guide/chapter[1]/title"/></title> <xsl:variable name="relative_path_depth" select="string-length(/guide/@self)-string-length(translate(/guide/@self, '/' , ''))"/> |