RE: [xsl] transform slash n or $$$$ to line break

Subject: RE: [xsl] transform slash n or $$$$ to line break
From: Cams Ismael <Ismael.Cams@xxxxxxxxxxxxxxx>
Date: Fri, 24 Jan 2003 15:03:08 +0100
Hello Sasha,

what you should do is split your string into substrings.
So you split the string every time before $$$$ and put a <fo:block/> tag
after each substring.

String replacement functions can be easily found on this list.

Kind regards,
Ismaël

-----Original Message-----
From: Sascha Assbach [mailto:sascha@xxxxxxxxxx]
Sent: vrijdag 24 januari 2003 14:56
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] transform slash n or $$$$ to line break


Hi there,

is there any way to transform a string like "$$$$" into a <fo:block/> to
make a line-break?
Or is there "even" a way to transform "\n" to <fo:block/>

here are two examples

<TermineStatusNotiz>Verzögerung in Monaten$$$$Verzögerung in
Monaten$$$$Dritte Zeile</TermineStatusNotiz>

--> shall be transformed with XSLT to

<fo:block>
Verzögerung in Monaten<fo:block/>Verzögerung in Monaten<fo:block/>Dritte
Zeile
</fo:block>

so that there is a linebreak in the PDF output.

The input can also contain "\n" as a linebreak. Like

<TermineStatusNotiz>
Verzögerung in Monaten
Verzögerung in Monaten
Dritte Zeile
</TermineStatusNotiz>

What can i do?


I hope you can help me,
Sascha


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread