|
Subject: Re: [xsl] problem with table From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 20 Sep 2004 06:44:11 -0400 |
I have some problem with <fo:table-column>.Suppose i am using different
table structure such as
first <tr> contains 3 <td>.Second <tr> contains 4 <td>.Then 3<tr> onwards it
contains 6 <td>
The following is my table template.
<xsl:for-each select="tr/th|tr/td|thead/tr/th|thead/tr/td">
<fo:table-column/>
</xsl:for-each>
<xsl:for-each select="tr|thead/tr">
<xsl:sort select="count(td|th)" data-type="number"
order="descending"/>
<xsl:if test="position()=1">
<xsl:for-each select="td|th">
<table-column/>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
-- World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] problem with table, Eldho George | Thread | RE: [xsl] problem with table, Eldho George |
| [xsl] apply-templates instead of fo, xptm | Date | Re: [xsl] apply-templates instead o, David Carlisle |
| Month |