summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2011-09-16 17:49:38 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2011-09-16 17:49:38 +0100
commit7da6e5a8fb6e2a712a6397b8fc1c91297bf8f3e8 (patch)
tree266dcffb8e143fba294d89a5f9c71bf43b6695d7 /docs
parent27a11041ce60732cbe53dd7dbb83c9dd36b7b5b0 (diff)
parentc9266c1bd93d915109e68cbc922d9ab8da7769aa (diff)
downloadrabbitmq-server-git-7da6e5a8fb6e2a712a6397b8fc1c91297bf8f3e8.tar.gz
merge bug24428 into default
Diffstat (limited to 'docs')
-rw-r--r--docs/examples-to-end.xsl7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/examples-to-end.xsl b/docs/examples-to-end.xsl
index a0a741785f..4db1d5c479 100644
--- a/docs/examples-to-end.xsl
+++ b/docs/examples-to-end.xsl
@@ -2,7 +2,10 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'>
-<xsl:output doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" doctype-system="http://www.docbook.org/xml/4.5/docbookx.dtd" />
+<xsl:output doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
+ doctype-system="http://www.docbook.org/xml/4.5/docbookx.dtd"
+ indent="yes"
+/>
<!-- Don't copy examples through in place -->
<xsl:template match="*[@role='example-prefix']"/>
@@ -27,7 +30,7 @@
<varlistentry>
<term><command><xsl:copy-of select="text()"/></command></term>
<listitem>
- <xsl:copy-of select="following-sibling::para[@role='example']"/>
+ <xsl:copy-of select="following-sibling::para[@role='example' and preceding-sibling::screen[1] = current()]"/>
</listitem>
</varlistentry>
</xsl:for-each>