Andreas,
I made the change. However, I get the blank rows AFTER the 'TH' line.
I need the blank rows BEFORE the 'TH' line.
<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="linefeed-treatment">preserve</xsl:attribute>
<xsl:text>

</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:attribute
name="white-space-treatment">preserve</xsl:attribute>
<xsl:value-of select="vouc-charge-date"/>
</xsl:otherwise>
</xsl:choose>
Jeff
-----Original Message-----
From: Andreas Delmelle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2008 3:37 PM
To: [email protected]
Subject: Re: Issue with LineFeed 

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]