Adding a new line/break tag in XML [duplicate]

New Line XML

with XML

  1. Carriage return: 
  2. Line feed: 


or try like @dj_segfault proposed (see his answer) with CDATA;

 <![CDATA[Tootsie roll tiramisu macaroon wafer carrot cake.                       
            Danish topping sugar plum tart bonbon caramels cake.]]>

Leave a Comment