Merged bug23293 into default
This commit is contained in:
commit
0a57389f44
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,14 @@
|
|||
<?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:output method="xml" />
|
||||
|
||||
<!-- Copy every element through with local name only -->
|
||||
<xsl:template match="*">
|
||||
<xsl:element name="{local-name()}">
|
||||
<xsl:element name="{local-name()}" namespace="">
|
||||
<xsl:apply-templates select="@*|node()"/>
|
||||
</xsl:element>
|
||||
</xsl:template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue