summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Apperly <jim@rabbitmq.com>2010-10-28 13:05:00 +0100
committerJim Apperly <jim@rabbitmq.com>2010-10-28 13:05:00 +0100
commit9503f4443fc05fbe83fa47a6d3f754bc7d43c8fa (patch)
tree6ec1af76fcda35aae9304f8f60d13084c9aaf7c0
parent65dda2491e8a4af8b07d57c7825840db27c912c9 (diff)
downloadrabbitmq-server-9503f4443fc05fbe83fa47a6d3f754bc7d43c8fa.tar.gz
applied emile's patch
-rw-r--r--docs/html-to-website-xml.xsl2
-rw-r--r--docs/remove-namespaces.xsl2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/html-to-website-xml.xsl b/docs/html-to-website-xml.xsl
index c325bb5a..15e31ca0 100644
--- a/docs/html-to-website-xml.xsl
+++ b/docs/html-to-website-xml.xsl
@@ -17,7 +17,7 @@
<!-- 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>
-<html xmlns:doc="http://www.rabbitmq.com/namespaces/ad-hoc/doc">
+<html xmlns:doc="http://www.rabbitmq.com/namespaces/ad-hoc/doc" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><xsl:value-of select="document($original)/refentry/refnamediv/refname"/><xsl:if test="document($original)/refentry/refmeta/manvolnum">(<xsl:value-of select="document($original)/refentry/refmeta/manvolnum"/>)</xsl:if> manual page</title>
</head>
diff --git a/docs/remove-namespaces.xsl b/docs/remove-namespaces.xsl
index 0a0bc72c..2b67bf5f 100644
--- a/docs/remove-namespaces.xsl
+++ b/docs/remove-namespaces.xsl
@@ -8,7 +8,7 @@
<!-- Copy every element through with local name only -->
<xsl:template match="*">
- <xsl:element name="{local-name()}">
+ <xsl:element name="{local-name()}" namespace="http://www.w3.org/1999/xhtml">
<xsl:apply-templates select="@*|node()"/>
</xsl:element>
</xsl:template>