|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
WML Tables with xslt
Hi All,
I was trying to create wml tables using xslt it was working successfully but suddenly when I wanted to deploy it doesn't. I am using Nokia Series 40 SDK emulator, and my emulator is giving "File too large to be loaded" message. Could any one please tell me where I am wrong. Here is my code for generating tables. 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 help would be appreciated. Thanks in advance, Best Regards, Aruna.G Last edited by aruna gottimukk : October 23rd, 2007 at 01:59 AM. Reason: missing code |
|
#2
|
||||
|
||||
|
Quote:
![]() How many rows is the script returning in the table? Do you know what size the actual page that is generated is (check in opera/firefox)?
__________________
Cheers, Jamie # mdb4u | mobile movie database] | Please help to test and promote # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. ![]() __________________ |
|
#3
|
|||
|
|||
|
Quote:
Hi The number of rows in the table will changed. the details for the file size is here (from Nokia Emulator) Response: 1535 bytes, application/vnd.wap.wmlc; ISO-8859-1 Any advice please. thanking you in advance, Best Regards, Aruna.G |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Mobile Programming > WML Tables with xslt |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|