Eric / Andreas,
I have resolved my spacing issue as you suggested!!  

Thank you very much for the assistance.

 


Jeff 

-----Original Message-----
From: Andreas Delmelle [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 26, 2008 3:37 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Issue with LineFeed &#x0A

On Aug 26, 2008, at 21:18, Steffanina, Jeff wrote:

Hi Jeff

(see below)

> I may have confused the issue.  If I take your sample output from  
> earlier...   I need the blank line ABOVE the TH.  The TH is a  
> header line that must be preceded by a blank row when it is found  
> in column1 of the table.
>
> DC       column 2
> TH
>             column 2
> TR        column 2
>
> See my  "choose" logic below.
> <snip />


> <xsl:choose>
> <xsl:when test="./vouc-type='TR' or ./vouc-type='DR' or ./vouc- 
> type='CC'">
>       <xsl:attribute name="white-space-treatment">preserve</ 
> xsl:attribute>
>
>     <fo:block font-style="italic"  line-height=".14in" >
>
>         <xsl:text>     </xsl:text><xsl:value-of select="vouc-charge- 
> date"/>
>       </fo:block>
> </xsl:when>
>
> <xsl:when test="./vouc-type='TH'">
>         <xsl:attribute name="white-space-treatment">preserve</ 
> xsl:attribute>
>
add:

<xsl:attribute name="linefeed-treatment">preserve</xsl:attribute>

white-space-treatment only influences spaces, tabs and /treated/  
linefeeds. Since the default/initial value for linefeed-treatment is  
"treat-as-space", you need to explicitly override that.

HTH!

Andreas

---------------------------------------------------------------------
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