check this link, hope it helps:
http://www.biglist.com/lists/xsl-list/archives/200009/msg00991.html
(Re: Word Wrap and PRE)
Look at "br-replace" template
Friday, January 24, 2003, 3:56:26 PM, you wrote:
SA> Hi there,
SA> is there any way to transform a string like "$$$$" into a <fo:block/> to
SA> make a line-break?
SA> Or is there "even" a way to transform "\n" to <fo:block/>
SA> here are two examples
SA> <TermineStatusNotiz>Verzögerung in Monaten$$$$Verzögerung in
SA> Monaten$$$$Dritte Zeile</TermineStatusNotiz>
-->> shall be transformed with XSLT to
SA> <fo:block>
SA> Verzögerung in Monaten<fo:block/>Verzögerung in Monaten<fo:block/>Dritte
SA> Zeile
SA> </fo:block>
SA> so that there is a linebreak in the PDF output.
SA> The input can also contain "\n" as a linebreak. Like
SA> <TermineStatusNotiz>
SA> Verzögerung in Monaten
SA> Verzögerung in Monaten
SA> Dritte Zeile
SA> </TermineStatusNotiz>
SA> What can i do?
SA> I hope you can help me,
SA> Sascha
SA> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Best regards,
Dmitrii
dmitrii(_dot_)cretu(_at_)nexui(_dot_)md
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list