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

creating new lines in textarea input for HTML

Subject: creating new lines in textarea input for HTML
From: Stuart Zakon <sz@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Jan 2006 10:01:44 -0800
textarea input
The <textarea> input in HTML will take a value that has multiple lines CR/LF but will not preserve the line feeds (treated as whitespace).

On the other hand, if I add these using <xsl:text>&#x0a;</xsl:text>, they show up fine in the textarea.

So the challenge is, how do I break up the string using XSLT and put in the above?

I though string-before() would work but realized that it is treating '&#x0a;' as literal text. Is there another way to do this?

Thanks,
Stuart Zakon

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.