Eric / Andreas,
 
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.
 

Jeff 


________________________________

        From: Amick, Eric [mailto:[EMAIL PROTECTED] 
        Sent: Tuesday, August 26, 2008 8:32 AM
        To: [email protected]
        Subject: RE: Issue with LineFeed &#x0A
        
        
        I'm not sure I understand how exactly you want this to appear.
Are you looking for something like this?
         
        DC       column 2
        TH
                    column 2
        TR        column 2
         
        If so, I think it would make more sense to put a linefeed before
the data in every cell of the row but the first.
         
        Eric Amick
        Legislative Computer Systems
        Office of the Clerk
         

________________________________

        From: Steffanina, Jeff [mailto:[EMAIL PROTECTED] 
        Sent: Tuesday, August 26, 2008 8:06
        To: [email protected]
        Subject: Issue with LineFeed &#x0A
        
        

        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