Hello Web Maestro Clay;

Thanks for your help up to this point. It is appreciated.

What I don't understand is the relationship between columns and tables.

The fact that you list the columns and than in the body the rows is
confusing, and the fact that there are no errors, only a blank page when I
make a mistake with my table is a little frustrating.

If there is one column and 2 rows, each with a cell, would it not just write
one row on top of the other in the column? So if there is 2 columns and and
2 rows with 2 cells would it not write one cell into each column, with row
one appearing above row two?

Thanks,

Luke

----- Original Message ----- 
From: "The Web Maestro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 11, 2005 2:41 PM
Subject: Re: Table Help


> On Jan 11, 2005, at 11:38 AM, Luke Shannon wrote:
> > Hello;
> >
> > I am looking for one column that only contains an image, next to it a
> > column
> > with 2 cells stack on top of one another. What I get with the code
> > below is
> > the image and only the first cell in the second row?
> >
> > Any ideas?
> >
> > Does anyone know a good online tutorial for figuring out tables?
>
> I'd say check out the examples/ directory in the FOP distribution you
> downloaded.
>
> > Luke
> >
> > <xsl:template name="s2_pdf">
> > <xsl:param name="imagename"
> > select="concat(string('IMAGE'),number('1'))" />
> > <!-- text 1 -->
> > <fo:flow flow-name="xsl-region-body">
> > <fo:table inline-progression-dimension="100%" table-layout="fixed">
> > <fo:table-column column-width="50%" number-columns-repeated="2"/>
>
> never saw the number-columns-repeated attribute. Try this (from [1]):
>
>        <fo:table table-layout="fixed" width="100%">
>          <fo:table-column column-width="proportional-column-width(1)"/>
>          <fo:table-column column-width="proportional-column-width(1)"/>
>          <fo:table-body>
>            <fo:table-row>
>              <fo:table-cell>
>                <fo:block>foo</fo:block>
>              </fo:table-cell>
>              <fo:table-cell>
>                <fo:block>bar</fo:block>
>              </fo:table-cell>
>            </fo:table-row>
>          </fo:table-body>
>        </fo:table>
> [1]
> http://xml.apache.org/fop/fo.html#fo-center-table-horizon
>
> > <fo:table-body>
> > <fo:table-row>
> > <!-- image cell -->
> > <fo:table-cell number-rows-spanned="2">
> > <fo:block>
> > <xsl:call-template name="image_display_and_upload">
> > <xsl:with-param name="imagenode" select="." />
> > </xsl:call-template>
> > </fo:block>
> > </fo:table-cell>
> > </fo:table-row>
> > <fo:table-row>
> > <!-- text number one cell -->
> > <fo:table-cell>
> > <fo:block font-family="Arial" font-size="12pt" font-weight="bold"
> > break-after="auto" space-after="10pt" text-align="left">
> > <xsl:call-template name="text_display_and_edit">
> > <xsl:with-param name="text_number" select="number('1')" />
> > </xsl:call-template>
> > </fo:block>
> > </fo:table-cell>
> > <!-- text number two cell -->
> > <fo:table-cell>
> > <fo:block font-family="Arial" font-size="12pt" font-weight="bold"
> > break-after="auto" space-after="10pt" text-align="left">
> > <xsl:call-template name="text_display_and_edit">
> > <xsl:with-param name="text_number" select="number('2')" />
> > </xsl:call-template>
> > </fo:block>
> > </fo:table-cell>
> > </fo:table-row>
> > </fo:table-body>
> > </fo:table>
> > </fo:flow>
> > </xsl:template>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> Web Maestro Clay
> -- 
> <[EMAIL PROTECTED]> - <http://homepage.mac.com/webmaestro/>
> My religion is simple. My religion is kindness.
> - HH The 14th Dalai Lama of Tibet
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to