|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Line end conversion.
FAQ, > I have an odd little problem. I want to match all > linefeeds with a given > element's content, and convert them to "\n". Does anybody > know of a good > way to do so? > > In other words... > > <element>This is a phrase with a line end. > > It's very frustrating.</element> > > ...becomes... > > <element>This is a phrase with a line end.\n\nIt's very > frustrating.</element> Write a recursive template. The FAQ has an entry for this <http://www.dpawson.co.uk/xsl/sect2/replace.html#d6768e55>, but I recommend writing the stylesheet yourself for educational purposes. Cheers, Jarno - Funker Vogt: The International Killer 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








