mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 23:55:23 +00:00
7ee85c9900
The previous commit failed to update the XSL to take account of fact that in XHTML mode the elements need namespace prefixes. This caused every web page to be blank!
36 lines
927 B
XML
36 lines
927 B
XML
<?xml version="1.0"?>
|
|
<xsl:stylesheet
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
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"
|
|
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
|
|
|
|
<xsl:variable name="href_base">
|
|
<xsl:choose>
|
|
<xsl:when test="$pagename = '404.html'">
|
|
<xsl:value-of select="'/'"/>
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
<xsl:value-of select="''"/>
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
</xsl:variable>
|
|
|
|
<xsl:template match="/">
|
|
<xsl:apply-templates select="." mode="page">
|
|
<xsl:with-param name="pagename" select="$pagename"/>
|
|
</xsl:apply-templates>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|