Click to See Complete Forum and Search --> : How to enter line break?


sameerteni
January 31st, 2005, 10:37 AM
Hello,

I want to put line break in XML. Can anyone tell me how to do that?
eg
<Descripation>
This mail is to inform you that:---LINE BREAK---
your account is going to expire on end of this month.
</Descripation>

In above example at '---LINE BREAK--- ' I want to put line break.

Regards,
Sameer

Krzemo
January 31st, 2005, 11:14 AM
CDATA section ...

Hobson
January 31st, 2005, 11:17 AM
try

<Descripation>
<![CDATA[
This mail is to inform you that:
your account is going to expire on end of this month.
]]>
</Descripation>


I think that CDATA section is what you need.