mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00:00
b1c81567c7
The HTML5 doctype is simply <!DOCTYPE html> no DTD is present because HTML5 is no longer defined as an extension of SGML. XSL has no way to natively output a doctype without a public or system identifier, so we have to use an <xsl:text> hack instead. See also https://dev.w3.org/html5/html-author/#doctype-declaration Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
25 lines
599 B
XML
25 lines
599 B
XML
<?xml version="1.0"?>
|
|
<xsl:stylesheet
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
xmlns:exsl="http://exslt.org/common"
|
|
exclude-result-prefixes="xsl exsl"
|
|
version="1.0">
|
|
|
|
<xsl:import href="page.xsl"/>
|
|
|
|
<xsl:output
|
|
method="xml"
|
|
encoding="UTF-8"
|
|
indent="yes"/>
|
|
|
|
<xsl:variable name="href_base" select="'../'"/>
|
|
|
|
<xsl:template match="/">
|
|
<xsl:apply-templates select="." mode="page">
|
|
<xsl:with-param name="pagename" select="$pagename"/>
|
|
<xsl:with-param name="timestamp" select="$timestamp"/>
|
|
</xsl:apply-templates>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|