Re: [XSL-FO] Newline Characters in XSL-FO
- On Fri, 2005-04-01 at 09:39 +0000, Umer Rashid wrote:
>See Victors reply for a real how to.
> Is there any special way to display newline, space characters,
> carriage returns in XSL-FO? I'm using XLS Formatter V3.2 and
> it times the newline characters in the text written in XML,
> which I want to display in XSL-FO file.
> Any solution to this problem?
First you need to realise that the XML source document is
(most likely) marked up semantically, not using presentational markup.
>From that structure, you may want to apply presentational informationbased on structure, e.g. a new line at the end of a paragraph.
Use that approach and Victors syntax and you'll solve your problem.
XSLT + Docbook FAQ