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 | 2f65c78ef22d2480055f2cc2f2895e40b3c332db (patch) | |
| tree | 1a636fc7340c21ef3c26ff5445eb6a4bb740a936 /docs | |
| parent | 32c15ce3074c45414d60558675c0a86c5e5f45fe (diff) | |
| download | rabbitmq-server-git-2f65c78ef22d2480055f2cc2f2895e40b3c332db.tar.gz | |
more man page namespacery
Diffstat (limited to 'docs')
| -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 15e31ca0f1..1fd9cea120 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> |
