Problems with linefeed treatment

Hi everyone!

I'm trying to get a pdf file from my xml file using xsl-fo, but I have
problems with linefeed treatment. 
I put in my xsl file the next atributtes:

<fo:root linefeed-treatment="preserve" white-space-collapse="false"
white-space-treatment="preserve">

Well, now if I have an xml like this:

<DOCUMENT>
<TEXT>The first line
The second line</TEXT>
</DOCUMENT>

The linefeed are preserved correctly, but If my xml is like this other:

<DOCUMENT TEXT="The first Line
  The second line" />

The linefeed are not preserved.
How can I preserve the linefeed using xsl-fo if my xml is like the second
one???

Best regards! Thanks in advance

--
View this message in context: http://www.nabble.com/Problems-with-linefeed-treatment-t1271089.html#a3373689
Sent from the w3.org - www-xsl-fo forum at Nabble.com.

Received on Monday, 13 March 2006 08:27:32 UTC