|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: transform slash n or $$$$ to line break
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








