Hey Maneshi !

I had the same problem !
Just put some thing in the cell
my be this can help ->
k.

<xsl:template match="td">
        <fo:table-cell>
                <fo:block  text-align="center">
                        <xsl:choose >
                        <xsl:when test = ".=''" >
                        <fo:table
                                border-width="0.1mm"
                                border-style="solid"
                                background-color="{@bgcolor}"
                                color="{@bgcolor}"
                                >
                                <fo:table-column column-width="30mm" />
                                <fo:table-body>
                                 <fo:table-row>
                                  <fo:table-cell >
                                  <fo:block space-before.optimum="3pt">
                                   _
                                  </fo:block>
                                  </fo:table-cell>
                                 </fo:table-row>
                                </fo:table-body>
                              </fo:table>
                              </xsl:when>

                              <xsl:otherwise >
                                <fo:table
                                border-width="0.1mm"
                                border-style="solid"
                                background-color="{@bgcolor}"
                                color="{@font-color}"
                                >
                              <fo:table-column column-width="30mm" />
                                <fo:table-body>
                                 <fo:table-row>
                                  <fo:table-cell >
                                  <fo:block space-before.optimum="3pt">
                                   <xsl:apply-templates/>
                                  </fo:block>
                                  </fo:table-cell>
                                 </fo:table-row>
                                </fo:table-body>
                              </fo:table>
                              </xsl:otherwise>
                        </xsl:choose>
                </fo:block>
        </fo:table-cell>
   </xsl:template>

-----Ursprungliche Nachricht-----
Von: Maneshi Tuli [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 11. Dezember 2001 00:13
An: [EMAIL PROTECTED]
Betreff: column color



Hi ,
I am not able to display the column color if column value is null

my code is

<fo:table-cell number-columns-spanned="5">
<fo:block font-size="12px" color="#333333" font-family="serif"
text-align="center" background-color="#CCCCCC" vertical-align="bottom"
font-weight="bold">
<fo:external-graphic
src="file:C:/XMLWork/HTML/InSight/images/common/spacer.gif"/>
</fo:block>
</fo:table-cell>
<fo:table-cell number-columns-spanned="5">
<fo:block font-size="12px" color="#333333" font-family="serif"
text-align="center" background-color="#CCCCCC" vertical-align="bottom"
font-weight="bold">Asset Class Composition %</fo:block>
</fo:table-cell>

It displays the color for 2nd block , but not for first one
.
Plz help me  , how can i get the color for 1st block


Maneshi Tuli
  212-454-1646 (O)
  732 -882-0353(H)



--

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to