I have a 19 by 20 cells table.  What is the efficient way to do it?

I have this in. xsl but having trouble converting to .fo

    <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






Reply via email to