This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
multilple row/col xsl->fo
- From: Mathy V Arumugam <mathy dot v dot arumugam at jpl dot nasa dot gov>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 11 Mar 2002 11:05:48 -0800
- Subject: [xsl] multilple row/col xsl->fo
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hope someone could help me!!!
I have a 19 by 20 cells table. The following code works very well using
.xsl. How can I convert this to .fo inorder to create the .pdf?
<xsl:for-each select="LIST1">
<table WIDTH="100%"
border="6"
bordercolorlight="#33CCCC"
bordercolordark="#669999"
bgcolor="#FFFFCC"
cellspacing="0"
cellpadding="1"
align ="center">
<xsl:for-each select="ROWS">
<tr>
<!-- X=0 is Column Heading, Y=0 is Row Heading -->
<xsl:for-each select="cell[(@X='0') $or$ (@Y='0')]">
<td align ="center" bgcolor="3399cc">
<b><xsl:value-of select="."/></b></font>
</td>
</xsl:for-each>
<!-- non-heading cells -->
<xsl:for-each select="cell[(@X!='0')$and$(@Y!='0')]">
<td align="center">
<xsl:value-of select="."/>
</td>
</xsl:for-each>
</tr>
</xsl:for-each> <!-- for-each ROWS -->
</table>
</xsl:for-each>
Thanks
Mathy
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list