diff options
| author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-09-22 13:42:28 +0100 |
|---|---|---|
| committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-09-22 13:42:28 +0100 |
| commit | 8fdc34e425479020a35180cf03f040b4252dab35 (patch) | |
| tree | f32c7d0477790001d22692b6873abd40f2a1f373 /docs | |
| parent | 750bd4bec3b056e7c9752aad3bb5ad63257d64b8 (diff) | |
| parent | f81dfa2ad4714da599607445ef1f91332fc72494 (diff) | |
| download | rabbitmq-server-git-8fdc34e425479020a35180cf03f040b4252dab35.tar.gz | |
merge default into bug21319
Diffstat (limited to 'docs')
| -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> |
