W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2006

Problems with linefeed treatment

From: ehernandez (sent by Nabble.com) <lists@nabble.com>
Date: Mon, 13 Mar 2006 00:27:22 -0800 (PST)
Message-ID: <3373689.post@talk.nabble.com>
To: www-xsl-fo@w3.org


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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:13 GMT