AW: Newbie question about line breaks

2003-04-30 Thread Dipl.-Oec. Harald Meyer
Thanks, this helps! :-)

 -Ursprungliche Nachricht-
 Von: Toufic Nehme [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 29. April 2003 19:17
 An: [EMAIL PROTECTED]
 Betreff: Re: Newbie question about line breaks
 
 
 Add this in your fo:block
 
 white-space-collapse=false  linefeed-treatment=preserve
 white-space-treatment=preserve
 
 Hope this helps.
 
 Dipl.-Oec. Harald Meyer wrote:
 
  Hello everyone,
 
  I have a question about line breaks (maybe too simple for some 
 of you ;-)).
 
  My XML:
  ...
  data
  valuehere
  is
  my
  text/value
  /data
  ...
 
  I want to keep the line breaks in my PDF output. But how do I 
 have to say
  that in XSL:FO???
 
  Thanks
  Harald
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Newbie question about line breaks

2003-04-30 Thread Dipl.-Oec. Harald Meyer
 See:
 http://xml.apache.org/fop/fo.html#fo-preformat

 Also, there are Unicode paragraph separator (U+2029) and line separator
 (U+2028) characters that can be used for this purpose if you place them in
 XML. Don't hold me to this, but I think they work in FOP.

 Victor Mote


The separators didn't fit in my case because the text is from a database
request.
For hardcoded text it may be useful...



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]