John Brayton wrote:
I have forms with textarea's populated as:

<textarea name="xx"><xsl:value-of select="@defaultValue"/></textarea>

Some of the values have carriage returns, which are being removed. So, if attribute value is:

    first line
    second line
    third line

The HTML is:

<textarea name="xx">first line second line third line</textarea>

Does anyone have insight on how I could fix this?

try <xsl:copy-of select="@defaultValue"/>, AFAIK this should keep the whitespace.


markus



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to