|
I am trying to maintain my carriage returns but they are always getting lost, i've tried using xml:space="preserve" and xslpreserve-space... but neither work or i am using them wrong.
The data is inside a tag as follows:
<tag>
line1
line2
line3
</tag>
I want to keep the formatting of the data (the 3 lines) as it is but it goes like this:
line1 li
ne2 line3
I am using an xsl stylesheet but i beleive the carriage returns are removed by the time that becomes involved.
The information between the tags is written by a unix script and so i cannot simply add tags or change anything between the tags.
Please help,
Ben.
|