diff options
| author | Jerry Kuch <jerryk@vmware.com> | 2010-12-08 14:57:43 -0800 |
|---|---|---|
| committer | Jerry Kuch <jerryk@vmware.com> | 2010-12-08 14:57:43 -0800 |
| commit | 2c7568a94a1df862a9fc540d1483bbe40b7b09f2 (patch) | |
| tree | 6e9bc37e913f7fd285640e6536ebb276384f0a56 /docs | |
| parent | 2ba3f3661defc8a58e83f9156fef933f318a11e8 (diff) | |
| parent | 4e4cdeb8ff99b6a9bd00fed681dbfdf39436bbbf (diff) | |
| download | rabbitmq-server-git-2c7568a94a1df862a9fc540d1483bbe40b7b09f2.tar.gz | |
Merge from default.
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 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> |
