Oy! Thanks so much -- that was exactly what I was over looking. I've
switched the xsl to:
<xsl:template match="table">
<xsl:for-each select = "./tgroup">
<fo:table table-layout="fixed" width="100%">
<xsl:for-each select="./colspec">
<fo:table-column column-width="{(_at_)colwidth}in"/>
</xsl:for-each>
<fo:table-body>
<xsl:for-each select="./tbody/row">
<fo:table-row>
<xsl:for-each select="./entry">
<fo:table-cell>
<fo:block line-height="16pt" text-decoration="underline"
font-size = "10pt">
<xsl:value-of select="." />
</fo:block>
</fo:table-cell>
</xsl:for-each>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>
</xsl:for-each>
</xsl:template>
...and it works like a charm!
Thanks again,
Luke
On Thu, 2007-06-28 at 21:24 +0200, Manfred Staudinger wrote:
Hi Luke,
<xsl:for-each select = "tbody/row">
You are selecting row here but in the xml you showed,
row has no child element named "colspec" so
<xsl:for-each select = "colspec">
does not select anything and therefor you will be missing
the table-column element in your output.
Hope this helps, Manfred
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--