Friends,
Issue: When the first column in the table row contains 'TH', I want to
do a LINE FEED   before  the remainder of the table row is printed.  The
other components in the "choose" are working perfectly.    In general, I
am having problems forcing a line feed at various point in my style
sheet.  I would appreciate any hints.

<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>
  <fo:block >
        <xsl:text>&#x0A;</xsl:text>
  </fo:block>
</xsl:when>

<xsl:otherwise>
        <xsl:attribute
name="white-space-treatment">preserve</xsl:attribute>
        <xsl:value-of select="vouc-charge-date"/>
</xsl:otherwise>
</xsl:choose>
</fo:block>






Jeff 

Reply via email to