- From: G. Ken Holman <gkholman@cranesoftwrights.com>
- Date: Mon, 05 Nov 2001 18:04:00 +0100
- To: www-xsl-fo@w3.org
At 01/11/03 21:15 -0500, John Ericson wrote:
>This *mess* contains of 3 lines which ofcourse ends with linebreaks. The
>question is: How can I make fo render this linebreaks in the code as
>correct linebreaks in the output. Right now fo just renders all the text
>on *one* line. Is there a commando for this such as <br/> in xhtml?
Yes, use an empty block: <block/>
>Or do I
>have to have each line in its own fo:block?
No. Since the block construct breaks the flow in the block-progression
direction, an empty block acts just like <br/> in XHTML.
Flowing the following:
<block>This is a test<block/>with a line break</block>
Produces:
This is a test
with a line break
I hope this helps.
.......................... Ken
--
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 (Fax:-0995)
Web site: XSL/XML/DSSSL/SGML/OmniMark services, training, products.
Book: Practical Transformation Using XSLT and XPath ISBN 1-894049-06-3
Article: What is XSLT? http://www.xml.com/pub/2000/08/holman/index.html
Next public training (instructor-live, Internet-live, and web-based):
- 2001-11-01,11-02,11-05,11-19,11-21,12-03,12-05,12-09,12-10,12-19
Received on Monday, 5 November 2001 12:06:53 UTC