I want to add carriage returns to an XSLT file that generates an Excel file. My situation is that I have a really long string inside an Excel cell. I want the text to wrap around while remaining inside the cell. Any advice? I tried following the advice here but it didn't work for my situation.
Talking about the styles comment, it seems I have no control over the styles, no matter what I manually put under 'styles', When I look at the generated excel file through a text editor I always see the following:
<Styles>
<Style ss:ID="Default" ss:Name="Normal">
<Alignment ss:Vertical="Bottom"/>
<Borders/>
<Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"/>
<Interior/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="s62">
<Alignment ss:Vertical="Bottom"/>
<Borders/>
<Font ss:FontName="Arial" ss:Bold="1"/>
<Interior/>
<NumberFormat/>
<Protection/>
</Style>
</Styles>