[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Converting linebreaks
I have this xml: ================ <text>This is line 1. This is <B>line 2</B>. This is line 3.</text> ================ Does XSLT provide a way that I can transform it into this?: ================ <text> This is line 1. <BR/> This is <B>line 2</B>. <BR/> This is line 3. </text> ================ I'm piecing together an XML-based content management tool and it would be most convenient for content editors to just hit enter when they want a line break to occur, giving them a sort of cross-breed of plaintext and HTML. Hopefully this could also be adapted to a scenario where each linefeed-separated block of text is turned into <para>block of text</para> or similar.. Ideas? joel 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
|