diff options
author | Jim Apperly <jim@rabbitmq.com> | 2010-10-29 16:00:12 +0100 |
---|---|---|
committer | Jim Apperly <jim@rabbitmq.com> | 2010-10-29 16:00:12 +0100 |
commit | ce7d7897efa0b0ecbef4eb0ae5dada44e300b901 (patch) | |
tree | 1a636fc7340c21ef3c26ff5445eb6a4bb740a936 | |
parent | 8165fa95b765f0a485a4fe9020f615081ed5e512 (diff) | |
download | rabbitmq-server-bug23293.tar.gz |
more man page namespacerybug23293
-rw-r--r-- | docs/html-to-website-xml.xsl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/html-to-website-xml.xsl b/docs/html-to-website-xml.xsl index 15e31ca0..1fd9cea1 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> |