Friday, June 15, 2001 06:46 AM
you could encode your newlines as
I am still unsure about attributes having newlines and whether that is a good decision design-wise, but what I would do is take the value of the textarea and before store in xml encode all newlines as
That way, when you later read it out, newlines will be preserved. The
is for windows os. If you are in the Unix/Linux world then you can just encode newlines for unix/linux newlines.