RE: [xsl] FOP table formatting problem

Subject: RE: [xsl] FOP table formatting problem
From: "Seaborne, Mark" <Mark_Seaborne@xxxxxxxxxxxx>
Date: Thu, 2 Aug 2001 17:18:52 +0200
I think it is just a matter of FOP not yet being a full implementation of
XSL-FO. It is getting steadily better though. You might have better luck
trying one of the commercial implemetations listed on the W3C XSL-FO page.

All the best

Mark

-----Original Message-----
From: amit.pherwani@xxxxxxxxxx [mailto:amit.pherwani@xxxxxxxxxx]
Sent: 02 August 2001 15:43
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] FOP table formatting problem



Thanks Mark, appreciate the tip - it works!

I'm really surprised, though, that the fo tags for row spanning don't work
- even for the samples available on the w3c site. Has anyone else also run
into the same problem?

amit






 

                    "Seaborne, Mark"

                    <Mark_Seaborne@xxxxxxxxxxxx        To:
"'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'"   
                    >
<xsl-list@xxxxxxxxxxxxxxxxxxxxxx>             
                    Sent by:                           cc:

                    owner-xsl-list@xxxxxxxxxxxx        Subject:     RE:
[xsl] FOP table formatting   
                    rytech.com                         problem

 

 

                    08/02/2001 09:56 AM

                    Please respond to xsl-list

 

 




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






 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