xsl-list
[Top] [All Lists]

creating new lines in textarea input for HTML

2006-01-27 11:01:44
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>