summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-11-23 17:17:07 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2010-11-23 17:17:07 +0000
commitb3db9def142ea58623294ede1c35dfe5a310fdc8 (patch)
treea846014d7ff616744f770f64b7c3ad2fa34d21ed /docs
parentae86a0cef28083e44a8f180ffef2d7dd1d69cab4 (diff)
parent16cb47891d6aa3fa924501025e07addbb598b17e (diff)
downloadrabbitmq-server-git-b3db9def142ea58623294ede1c35dfe5a310fdc8.tar.gz
merge bug23531 into default
Diffstat (limited to 'docs')
-rw-r--r--docs/html-to-website-xml.xsl11
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/html-to-website-xml.xsl b/docs/html-to-website-xml.xsl
index ec8f87e5eb..4bfcf6ca50 100644
--- a/docs/html-to-website-xml.xsl
+++ b/docs/html-to-website-xml.xsl
@@ -1,6 +1,7 @@
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:doc="http://www.rabbitmq.com/namespaces/ad-hoc/doc"
+ xmlns="http://www.w3.org/1999/xhtml"
version='1.0'>
<xsl:param name="original"/>
@@ -10,10 +11,16 @@
<xsl:template match="*"/>
<!-- Copy every element through -->
-<xsl:template match="@*|node()">
- <xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy>
+<xsl:template match="*">
+ <xsl:element name="{name()}" namespace="http://www.w3.org/1999/xhtml">
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:element>
</xsl:template>
+<xsl:template match="@*">
+ <xsl:copy/>
+</xsl:template>
+
<!-- Copy the root node, and munge the outer part of the page -->
<xsl:template match="/html">
<xsl:processing-instruction name="xml-stylesheet">type="text/xml" href="page.xsl"</xsl:processing-instruction>