summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@lshift.net>2010-02-26 12:29:10 +0000
committerSimon MacMullen <simon@lshift.net>2010-02-26 12:29:10 +0000
commitff72085ee9d28dede9d4b38e1d5a8dc4ec81f2c5 (patch)
tree88e2b44bf965c1fb080a717842c85a157da1e391
parent08ca738b00e81d85872818fb701225a23f506e76 (diff)
downloadrabbitmq-server-ff72085ee9d28dede9d4b38e1d5a8dc4ec81f2c5.tar.gz
This mode thing is not needed.
-rw-r--r--docs/html-to-website-xml.xsl22
1 files changed, 11 insertions, 11 deletions
diff --git a/docs/html-to-website-xml.xsl b/docs/html-to-website-xml.xsl
index d4cee085..3aaf3bf2 100644
--- a/docs/html-to-website-xml.xsl
+++ b/docs/html-to-website-xml.xsl
@@ -8,8 +8,8 @@
<xsl:template match="*"/>
<!-- Copy every element through, deliberately losing all attributes -->
-<xsl:template match="node()" mode="copy">
- <xsl:copy><xsl:apply-templates select="node()" mode="copy"/></xsl:copy>
+<xsl:template match="node()">
+ <xsl:copy><xsl:apply-templates select="node()"/></xsl:copy>
</xsl:template>
<!-- Copy the root node, and munge the outer part of the page -->
@@ -31,7 +31,7 @@
<doc:heading>Table of Contents</doc:heading>
</doc:toc>
- <xsl:apply-templates select="body/div[@class='refentry']" mode="copy"/>
+ <xsl:apply-templates select="body/div[@class='refentry']"/>
</doc:div>
</body>
</html>
@@ -39,27 +39,27 @@
<!-- Specific instructions to revert the DocBook HTML to be more like our ad-hoc XML schema -->
-<xsl:template match="div[@class='refsect1'] | div[@class='refnamediv'] | div[@class='refsynopsisdiv']" mode="copy">
+<xsl:template match="div[@class='refsect1'] | div[@class='refnamediv'] | div[@class='refsynopsisdiv']">
<doc:section name="{@title}">
- <xsl:apply-templates select="node()" mode="copy"/>
+ <xsl:apply-templates select="node()"/>
</doc:section>
</xsl:template>
-<xsl:template match="div[@class='refsect2']" mode="copy">
+<xsl:template match="div[@class='refsect2']">
<doc:subsection name="{@title}">
- <xsl:apply-templates select="node()" mode="copy"/>
+ <xsl:apply-templates select="node()"/>
</doc:subsection>
</xsl:template>
-<xsl:template match="h2 | h3" mode="copy">
+<xsl:template match="h2 | h3">
<doc:heading>
- <xsl:apply-templates select="node()" mode="copy"/>
+ <xsl:apply-templates select="node()"/>
</doc:heading>
</xsl:template>
-<xsl:template match="pre[@class='screen']" mode="copy">
+<xsl:template match="pre[@class='screen']">
<pre class="sourcecode">
- <xsl:apply-templates select="node()" mode="copy"/>
+ <xsl:apply-templates select="node()"/>
</pre>
</xsl:template>