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]

Reply via email to