Hi All,
I am trying to display the tables xslt as display for wml. The number of rows and columns my table will changed from time to time, depending upon the xml i am getting from server. My problem is while trying to load the wml deck in the emulator, its giving "File too large to be loaded" error. I didnt understand why its giving like this. Could any one please help me, its very urgent for me.
I tried with 2 columns by 10 rows , 2 columns by 11 rows, 6 columns by 9 rows and 2 columns by 17 rows and 2 columns by 15 rows.
In the table, it may contain with images as well.( is this a problem?)
Here is my table.xslt code.
Code:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output omit-xml-declaration="yes"/>
<xsl:template match="table">
<xsl:variable name="columnCount" select="count(columns/column)"/>
<table columns="{$columnCount}">
<xsl:apply-templates select="row" />
</table>
</xsl:template>
<xsl:template match="row">
<tr>
<xsl:apply-templates select="cell" />
</tr>
</xsl:template>
<xsl:template match="cell">
<td>
<xsl:apply-templates/>
</td>
</xsl:template>
</xsl:stylesheet>
Any suggestions would be appreciated.
Thanking you in advance,
Best Regrads,
Aruna.G