summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEmile Joubert <emile@rabbitmq.com>2011-09-22 17:25:41 +0100
committerEmile Joubert <emile@rabbitmq.com>2011-09-22 17:25:41 +0100
commit7ed7987fe189ebdb091da157a4ff08842660a1a5 (patch)
tree3a2a495e128b322a55b2610e32af167567bad994 /docs
parente38790da3410305c1cb4f2f8c34d321c0c585f7b (diff)
parent67fcf0a81b3336960de2e3d2fd488fc260565480 (diff)
downloadrabbitmq-server-7ed7987fe189ebdb091da157a4ff08842660a1a5.tar.gz
Merged bug23866 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 a0a74178..4db1d5c4 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>