[Home] [By Thread] [By Date] [Recent Entries]

Subject: xsl-fo linefeed-treatment="preserve" doesn't preserve the linefeed
From: Gunter D'Hondt <gunter.dhondt@xxxxxxxxx>
Date: Mon, 22 Nov 2004 15:06:47 +0100
Hello,
I've got the following xml (also tried to put it into a cdata block):

<Quote>
        <descr>Line1
Line2</descr>
</Quote>
and the following xsl-fo:
...
<fo:block linefeed-treatment="preserve"><xsl:value-of 
select="Quote/descr"/></fo:block>
...

which still outputs "Line1Line2" so it replaces the newline character 
instead of "preserving" it

Anybody who gots an idea what I'm doing wrong here? Any help is welcome...

Regards,
Gunter D'Hondt

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member