Problem with TextArea

List for Users of Carlsbad Cubes' Technologies and Products <[email protected]> Thu, 2 Mar 2006 18:58:07 +0530
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
--===============1230725888==
Content-Type: multipart/alternative; 
	boundary="----=_Part_6558_23474022.1141306087554"

------=_Part_6558_23474022.1141306087554
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
      When I use "\n" in the text of the TextArea. But it is not considerin=
g
it as
a newline instead it is printing the text with "\n" character. I tried to
debug
and final found out that the SwiXML parsing (i.e SAX parser) used is
converting the
"\n" to "\\n" so that in the output the "\n" is printed as it is.

<textarea text=3D"This is a sample message.\n This is a sample message."/>

                        Please help me to get rid of this situation. I want
the SwiXML to recognize
the "\n" as a newline character.

regards,
Rajkumar

------=_Part_6558_23474022.1141306087554
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When I use &quot;\n&quot; in the text of the=
 TextArea. But it is not=20
considering it as
<br>
a newline instead it is printing the text with &quot;\n&quot; character. I =
tried=20
to debug
<br>
and final found out that the SwiXML parsing (i.e SAX parser) used is=20
converting the
<br>
&quot;\n&quot; to &quot;\\n&quot; so that in the output the &quot;\n&quot; =
is printed as it is.
<br>

<br>
&lt;textarea text=3D&quot;This is a sample message.\n This is a sample mess=
age.&quot;/&gt;
<br>

<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Please help me to get rid of this situation. I want the SwiXML to
recognize
<br>
the &quot;\n&quot; as a newline character.
<br>

<br>
regards,
<br>
Rajkumar

------=_Part_6558_23474022.1141306087554--


--===============1230725888==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Forum mailing list
[email protected]
http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com

--===============1230725888==--