Let's try this code (I did not test it):
substitute:
<fo:table-row>
<fo:table-cell>
<xsl:apply-templates select="paragraph"/>
</fo:table-cell>
</fo:table-row>
through:
<xsl:for-each select="paragraph">
<fo:table-row>
<fo:table-cell>
<fo:block><xsl:value-of select="."/>.</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
> -----Urspr�ngliche Nachricht-----
> Von: Matthias Brunner [SMTP:[EMAIL PROTECTED]
> Gesendet am: Montag, 3. M�rz 2003 19:25
> An: [EMAIL PROTECTED]
> Betreff: keep-together / blind tables
>
> Hello,
>
> I know this is a FAQ but I did not find anything appropriate to my
> specific problem.
> I have paragraphs with a heading and, of course, I do not want the
> heading to be left alone on one page with the paragraphs being on
> the next one.
>
> ---excerpt---
> <xsl:template match="paragraphs">
> <fo:table table-layout="fixed" width="100%">
> <fo:table-column column-width="proportional-column-width(1)"/>
> <fo:table-body>
>
> <fo:table-row keep-with-next="always">
> <fo:table-cell>
> <xsl:apply-templates select="heading"/>
> </fo:table-cell>
> </fo:table-row>
>
> <fo:table-row>
> <fo:table-cell>
> <xsl:apply-templates select="paragraph"/>
> </fo:table-cell>
> </fo:table-row>
>
> </fo:table-body>
> </fo:table>
> </xsl:template>
> ---excerpt---
>
>
> keep-with-next works, the heading is never left alone.
> But even if a paragraph is half a page in size it is not seperated
> any more thus leaving ugly blank spots on the pages. (strange ASCII
> art example attached below :)
> What can I do to allow the separation of this paragraph?
>
>
> Thanks in advance,
> Matthias
>
>
> Example:
> p1
> ----
> <heading/>
> <paragraph>
> content
> content
> content
> </paragraph>
> EMPTY
> EMPTY
> EMPTY
> EMPTY
> ---
> p2
> ----
> <heading/>
> <paragraph>
> content
> content
> content
> content
> content
> content
> content
> </paragraph>
> ----
>
>
>
> INSTEAD OF:
> p1
> ----
> <heading/>
> <paragraph>
> content
> content
> content
> </paragraph>
> <heading/>
> <paragraph>
> content
> content-
> ---
> p2
> ----
> content
> content
> content
> content
> content
> </paragraph>
> EMPTY
> EMPTY
> EMPTY
> EMPTY
> ----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]