Re: [xsl] XSL-FO insert a blank line

Subject: Re: [xsl] XSL-FO insert a blank line
From: David Tolpin <dvd@xxxxxxxxxxxxxx>
Date: Thu, 9 Dec 2004 14:04:47 +0400 (AMT)
Ranjan K. Baisak:
> I am using <fo:block/> to insert blank line. This does
> not seem to work properly. As I am totally new to
> xsl-fo, can anybody suggest me how to insert a blank
> line?
> <fo:static-content flow-name="xsl-region-after">
> 		</fo:block>
> 		<fo:block/>
> 		<fo:block/>
> 		<fo:block/>
> 		<fo:block/>
> 		<fo:block font-family="Helvetica" font-size="10pt"
> 			text-align="left">
> 			XYZ Corporation
> 		</fo:block>
> 	</fo:static-content>

Hi Ranjan,

XSL FO is good at expressing exactly what you need, just say it:

<fo:block linefeed-treatment="preserve">
</fo:block>

This is one blank line. For three blank lines, just add the lines:

<fo:block linefeed-treatment="preserve">


</fo:block>

David Tolpin

Current Thread