Monday 15 February 2010

new operator - How to have line breaks in XML attributes? -


I have a feature: Description and I want to put it in the following with new lines:

This is the content description section.
Download Instructions:
Content is downloading content.
Hotline Support:
This is hotline for content.

How do I create a new line for it in XML?

Actually you want to enter the CRLF:

CR code: & Amp; # 13; LF code: & amp; # 10;

& lt; Myelement description = "line1 and amp; # 13; and # 10; line 2 & amp; # 13; & amp; # 10; line3" />

No comments:

Post a Comment