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"

Well, now if I have an xml like this:

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

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

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:30 UTC