[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: transform slash n or $$$$ to line break

Subject: RE: transform slash n or $$$$ to line break
From: Cams Ismael <Ismael.Cams@xxxxxxxxxxxxxxx>
Date: Fri, 24 Jan 2003 15:03:08 +0100
slash n
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.