This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

xsl:fo nested tables problem


Does anyone have any idea why the code below displays a small, empty black
box. Even my hard coded text does not display. It seems like I see the
border of the table element only. The parent of this table renders perfectly
(built with identical structure) but it seems like all the child elements of
this nested table do not render. I am using Fop-0.20.3rc


<fo:table-cell>

   <fo:table border="1px solid black" height="15px">

      <fo:table-column column-width=".4in"/>
      <fo:table-column column-width="1in"/>

      <fo:table-header>
         <fo:table-row>
            <fo:table-cell number-columns-spanned="2" height="5px">
               <fo:block padding="1cm" font-family="sans-serif"
line-height="0pt" color="white" background-color="#c696c6" text-align="left"
font-weight="bold">Nutritional Info</fo:block>
            </fo:table-cell>
         </fo:table-row>
      </fo:table-header>

      <fo:table-row>
         <fo:table-cell  height="5px">
            <fo:block background-color="#efdfff">
               some value <xsl:value-of select="parent::nutrition"/>
            </fo:block>
         </fo:table-cell>
         <fo:table-cell  height="5px">
            <fo:block background-color="#f7f3ff">
               some text<xsl:value-of select="@name"/>            
            </fo:block>
         </fo:table-cell>
         <fo:table-cell>
         </fo:table-cell>
      </fo:table-row>

   </fo:table>

</fo:table-cell>



kevin schwarz
kschwarz@miavita.com
212.251.6338

miavita, inc
2 park ave
11th floor
ny, ny 10016


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]