xhtml.xsl: HTML5 Doctype
This commit is contained in:
parent
879224a5e0
commit
784aed7f10
|
@ -14,11 +14,12 @@
|
||||||
<xsl:output method="xml"
|
<xsl:output method="xml"
|
||||||
version="1.0"
|
version="1.0"
|
||||||
encoding="utf-8"
|
encoding="utf-8"
|
||||||
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
||||||
doctype-system="DTD/xhtml1-strict.dtd"
|
|
||||||
indent="yes"/>
|
indent="yes"/>
|
||||||
|
|
||||||
<xsl:template match="/page">
|
<xsl:template match="/page">
|
||||||
|
<xsl:text disable-output-escaping="yes"><!DOCTYPE html>
|
||||||
|
</xsl:text>
|
||||||
|
|
||||||
<xsl:variable name="title">
|
<xsl:variable name="title">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="/page/@pagetitle">
|
<xsl:when test="/page/@pagetitle">
|
||||||
|
|
Loading…
Reference in New Issue