Indeed, that did the trick! I'm setting the white-space-collapse to false 
and placing my xml datanode inside a CDATA-block
Thnx to you all!

Gunter




[EMAIL PROTECTED] 
23-12-2004 15:33
Please respond to
[EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc

Subject
Re: [fop] linefeed-treatment="preserve" doesn't preserve the linefeed







Gunter:

In 20.3, I use 'white-space-collapse' to keep my linefeeds intact:

<fo:block white-space-collapse="false">
<xsl:value-of select="Quote/descr"/>
</fo:block>

Give it a try.

-Lou




  
                      Gunter D'Hondt   
                      <[EMAIL PROTECTED]         To: [EMAIL PROTECTED] 
 
                      ofico.be>                cc:     
                                               Subject: [fop] 
linefeed-treatment="preserve" doesn't preserve the linefeed  
                      11/23/2004 06:34    
                      Please respond   
                      to fop-user   
  
  



Hello,

FOP 0.20.4

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to