docbook: keep-with-next
Subject:
Re: keep-with-next
From:
David Horton ####@####.####
Date:
5 Jun 2005 12:11:33 -0000
Message-Id: <42A2EBF2.1080305@speakeasy.net>
Machtelt Garrels wrote:
>
> Hello David or anybody else who knows about this,
>
> A while ago I was told to use this for keeping together Q&A when printing:
>
> <xsl:template match="instructions">
> <fo:block keep-with-next="always">Instructions</fo:block>
> <fo:block><xsl:apply-templates/></fo:block>
>
> </xsl:template>
>
>
> I'm really not a hero in this. Where do I configure this? And can it
> also work for keeping together lists?
>
> Thansk for any hints,
>
> Tille.
Tille,
The example above is useful if you are writing your own XSL style sheet
or wanting to modify and existing one. But maybe this is not what you
are trying to do. Is your original document is in DocBook XML and are
you using the DocBook XSL stylesheets to transform it? If so, what are
you transforming it into? Also, what tool are you using to do the
transformation?
Dave