diff options
| author | Emile Joubert <emile@rabbitmq.com> | 2011-09-16 11:09:48 +0100 |
|---|---|---|
| committer | Emile Joubert <emile@rabbitmq.com> | 2011-09-16 11:09:48 +0100 |
| commit | 79cfba476f5738999e4b1e16c91709072d679a31 (patch) | |
| tree | b867cac7e0c9f1542aa547acc3fe1271289ca551 | |
| parent | 3996dc533189f02c79a1c3280d8c74adde6308ba (diff) | |
| parent | 8a750a6e9f1a24508d7aa9710c2e10bce8bd30e6 (diff) | |
| download | rabbitmq-server-git-79cfba476f5738999e4b1e16c91709072d679a31.tar.gz | |
Merged bug24424 into default
| -rw-r--r-- | docs/examples-to-end.xsl | 7 |
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> |
