I have a jrxml file using which excel sheet is generated. The line from jrxml is shown below:
<text><![CDATA[Historical Places]]></text>
In my excel sheet I want Historical and Places to be displayed in two different lines. I tried some things from the link which was meant for xml Adding a new line/break tag in XML and it didn't work.
These are some of the ways that I tried but it didn't work:
<text><![CDATA[Historical
Places]]></text>
<text><![CDATA[Historical \n Places]]></text>
<text><![CDATA[Historical \r\n Places]]></text>
<text><![CDATA[Historical "\r\n" Places]]></text>
<text><![CDATA[Historical  Places]]></text>
<text><![CDATA[Historical<br /> Places]]></text>