W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2002


From: Steve Vachon <vachon@irosoft.com>
Date: Thu, 28 Feb 2002 11:30:18 -0500 (EST)
Message-Id: <>
To: www-xsl-fo@w3.org

    I have to write a title with a paragraph and I want that they stay 
together when I change of page.  My code is

<xsl:template match="Section">
	<fo:block text-indent="15pt">

<xsl:template match="MarginalNote">
	<fo:block font-size="9pt" color="green" margin-left="0pt" 
padding-top="12pt" padding-bottom="12pt"
		<xsl:value-of select="."/>

<xsl:template match="Section/Label">
	<fo:inline font-weight="bold">
		<xsl:value-of select="."/>.&#32;

where MarginalNote is the Title and Label is the paragraph.  This two tags 
are in the Section.

I tried with the keep-with-next.within-page but i doesn't work.  I also 
tried with the keep-together in the Section-block but it doesn't work too.

Maybe someone have a solution to my problem.

Thanks in advance

Steve from Irosoft Inc.  vachon@irosoft.com
Received on Thursday, 28 February 2002 17:53:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:54 UTC