RE: [xsl] FOP table formatting problem

Subject: RE: [xsl] FOP table formatting problem
From: "Seaborne, Mark" <Mark_Seaborne@xxxxxxxxxxxx>
Date: Thu, 2 Aug 2001 15:56:08 +0200
I don't know whether it is a particularly good method, but I have resorted
to nesting tables inside each other to acheive this effect. 

All the best

Mark Seaborne

-----Original Message-----
From: amit.pherwani@xxxxxxxxxx [mailto:amit.pherwani@xxxxxxxxxx]
Sent: 02 August 2001 14:18
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Cc: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx;
XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] FOP table formatting problem




Does anyone using FOP know what I'm doing wrong  - how I can ensure a
particular column spans 2 rows? Using Fop (0.18.1), I get an error message
saying

" [2WARNING: Number of cell columns under table-row not equal to number of
table-
columns]"

and the entire row is eliminated in the PDF output. Tried using the Table
test cases on Renderx and the w3c FOP site (table_spans.fo) but still get
the same problem.

Would really appreciate any ideas on how to get around this?
Thanks
amit



<fo:table>
     <fo:table-column column-width="5cm"/>
          <fo:table-column column-width="5cm"/>

     <fo:table-row >
               <fo:table-cell number-rows-spanned="2">
                    <fo:block>Column 1</fo:block>
               </fo:table-cell>
               <fo:table-cell number-rows-spanned="1">
                    <fo:block>Column 2</fo:block>
               </fo:table-cell>
     </fo:table-row >

     <fo:table-row >
               <fo:table-cell number-rows-spanned="1">
                    <fo:block>Row Data</fo:block>
               </fo:table-cell>
     </fo:table-row >

</fo:table>


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

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


Current Thread