<fo:block>
<!-- START CREATING A TABLE WITHIN THE LAST CELL OF THE FIRST TABLE -->
<fo:table width="5.5cm" table-layout="fixed">
<fo:table-column column-width="2.5cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
<fo:table-row text-align="left">
<fo:table-cell>
<fo:block font-size="10pt" line-height="10pt" >Avgerage Qty:</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="10pt" line-height="12pt" ><xsl:value-of select="avgQty"/></fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block font-size="10pt" line-height="12pt" >Total Qty:</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="10pt" line-height="12pt" ><xsl:value-of select="totQty"/></fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block font-size="10pt" line-height="12pt" >Total Value:</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="10pt" line-height="12pt" ><xsl:value-of select="totVal"/></fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<!-- END CREATING A TABLE WITHIN THE LAST CELL OF THE FIRST TABLE -->
</fo:block>
</fo:table-cell>
Radhika
Sambamurti
Pipeline Trading Systems
[EMAIL PROTECTED]
212-370-8343
From: Radhika Sambamurti [mailto:[EMAIL PROTECTED]
Sent: Monday, June 06, 2005 3:40 PM
To: fop-users@xmlgraphics.apache.org
Subject: RE: Table within a table
<fo:block>
<!-- CREATING A TABLE WITHIN THE LAST CELL OF THE FIRST TABLE -->
<fo:table width="5.5cm" table-layout="fixed">
<fo:table-column column-width="2.5cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
<xsl:apply-templates select="statistics"/>
</fo:table-body>
</fo:table>
</fo:block>
</fo:table-cell>
Radhika
Sambamurti
Pipeline Trading Systems
[EMAIL PROTECTED]
212-370-8343
From: Partridge, Michael [mailto:[EMAIL PROTECTED]
Sent: Monday, June 06, 2005 3:23 PM
To: fop-users@xmlgraphics.apache.org
Subject: RE: Table within a table
<xsl:template
match="header">
<fo:table-row text-align="left">
<fo:table-cell>
<fo:block><fo:external-graphic src=""file:Logo.jpg">file:Logo.jpg"
line-height="30pt"/></fo:block>
</fo:table-cell>
<fo:table-cell text-align="center">
<fo:block
font-size="15pt" line-height="20pt" font-family="Helvetica"
font-weight="bold"><xsl:value-of
select="title"/></fo:block>
<fo:block font-size="12pt" line-height="17pt" font-family="Helvetica" font-weight="bold"><xsl:value-of select="mthYr"/></fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block> <!-- change 1 -->
<!-- CREATING A TABLE WITHIN THE LAST
CELL OF THE FIRST TABLE -->
<fo:table width="5.5cm">
<fo:table-column column-width="2.5cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
<xsl:apply-templates select="statistics"/>
</fo:table-body>
</fo:table>
</fo:table-cell>
</fo:table-row>
</xsl:template>
-----Original Message-----
From: Radhika Sambamurti [mailto:[EMAIL PROTECTED]
Sent: Monday, June 06, 2005 3:13 PM
To: fop-users@xmlgraphics.apache.org
Subject: Table within a tableHi,
I am trying to create a small table (2 columns) within a cell of a larger table.
I am attaching the code snippet below:Basically, in the Table Cell, of the table I want to insert the smaller table, I am applying the statistics template.
Is this correct? I am not getting any output for the third cell.Thanks,
Radhika-----------------------------------------------------------------------------------------------------------------------
<xsl:template match="header">
<fo:table-row text-align="left">
<fo:table-cell>
<fo:block><fo:external-graphic src=""file:Logo.jpg">file:Logo.jpg" line-height="30pt"/></fo:block>
</fo:table-cell>
<fo:table-cell text-align="center">
<fo:block font-size="15pt" line-height="20pt" font-family="Helvetica" font-weight="bold"><xsl:value-of select="title"/></fo:block><fo:block font-size="12pt" line-height="17pt" font-family="Helvetica" font-weight="bold"><xsl:value-of select="mthYr"/></fo:block>
</fo:table-cell>
<fo:table-cell>
<!-- CREATING A TABLE WITHIN THE LAST CELL OF THE FIRST TABLE -->
<fo:table width="5.5cm">
<fo:table-column column-width="2.5cm"/>
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
<xsl:apply-templates select="statistics"/>
</fo:table-body>
</fo:table>
</fo:table-cell>
</fo:table-row></xsl:template>
<xsl:template match="statistics">
<fo:table-row>
<fo:table-cell>
<fo:block font-size="10pt" line-height="10pt" text-align="left">Avgerage Qty:</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="10pt" line-height="12pt" text-align="Right"><xsl:value-of select="avgQty"/></fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block font-size="10pt" line-height="12pt" text-align="left">Total Qty:</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="10pt" line-height="12pt" text-align="Right"><xsl:value-of select="totQty"/></fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block font-size="10pt" line-height="12pt" text-align="left">Total Value:</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-size="10pt" line-height="12pt" text-align="Right"><xsl:value-of select="totVal"/></fo:block></fo:table-cell>
</fo:table-row>
</xsl:template>Radhika Sambamurti
Pipeline Trading Systems
[EMAIL PROTECTED]
CONFIDENTIALITY NOTICE: This electronic message transmission is intended only for the person or the entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. If you have received this transmission, but are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this information is strictly prohibited. If you have received this e-mail in error, please contact SHPS at [EMAIL PROTECTED] and destroy the original message and all copies.