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

Re: How do I "line feed"?

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Mon, 16 Dec 2002 13:13:03 -0500
Message-Id: <5.2.0.9.0.20021216131023.02d30a70@pop.storm.ca>
To: www-xsl-fo@w3.org

At 2002-12-16 17:56 +0000, Kiki AMEDJA wrote:
>I' m trying to print some text  and force the next text to start on the 
>next line.
>How am I going to do that!

Lines are created by creating blocks or, if you are already in a set of 
lines in a block, by interrupting the flow.

You could create a new block for your "next line", or you could introduce 
an empty block inside a block to interrupt the flow.

But you don't say *why* you need a new line ... if you want to preserve an 
existing line feed, then you need to play with the linefeed and white space 
properties.

I hope this helps.

...................... Ken


--
Upcoming hands-on in-depth XSLT/XPath and/or XSL-FO:
-                             North America:  Feb 3 - Feb 7,2003

G. Ken Holman               mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.        http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0  +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                     Definitive XSLT and XPath
ISBN 0-13-140374-5                             Definitive XSL-FO
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1             Practical Formatting Using XSL-FO
Next conference training:                          2003-03-03,06
Received on Monday, 16 December 2002 13:13:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT