RE: breaking paragraphs and lines

2002-11-06 Thread Stephen Haberman
Processing xml as text is kinda dangerous, especially when you are trying to fiddle with tags, I believe a better and more safe way is to handle \n\n stuff one stage earlier - during fo generation, that's pretty simple in xslt to tokenize string into blocks by any delimiter, trivial recursive

Re: breaking paragraphs and lines

2002-11-05 Thread Oleg Tkachenko
Stephen Haberman wrote: 2) Run this result through a text manipulation program to replace all of the \n\n with /fo:blockfo:block to simulate a paragraph break. 3) Run this result through FOP. I'm thinking this will work once I get some scripts setup for it, but I'm just wondering if there is a

RE: breaking paragraphs and lines

2002-11-05 Thread Koes, Derrick
You may want to try white-space-collapse=false as an attribute on your fo:block. There are also other white space attributes that may be useful. I'm not sure if all are supported in fop 0.20.4. -Original Message- From: Stephen Haberman [mailto:[EMAIL PROTECTED] Sent: Tuesday, November

Re: breaking paragraphs and lines

2002-11-05 Thread J.Pietschmann
Koes, Derrick wrote: You may want to try white-space-collapse=false as an attribute on your fo:block. There are also other white space attributes that may be useful. I'm not sure if all are supported in fop 0.20.4. None of them is supported in 0.20.4. J.Pietschmann