Mobile Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreMobile Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 23rd, 2007, 01:58 AM
aruna gottimukk aruna gottimukk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 14 aruna gottimukk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 20 m 14 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old October 23rd, 2007, 02:19 AM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Click here for more information.
 
Join Date: Feb 2002
Location: Finland
Posts: 8,912 jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 3 Months 4 Weeks 1 Day 13 h 4 m 29 sec
Reputation Power: 1693
Send a message via ICQ to jabba_29 Send a message via AIM to jabba_29 Send a message via MSN to jabba_29 Send a message via Yahoo to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
Quote:
"File too large to be loaded" message. Could any one please tell me where I am wrong.
I would hazard a guess that your file is too large

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.



__________________

Reply With Quote
  #3  
Old October 23rd, 2007, 03:46 AM
aruna gottimukk aruna gottimukk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 14 aruna gottimukk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 20 m 14 sec
Reputation Power: 0
Quote:
Originally Posted by jabba_29
I would hazard a guess that your file is too large

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)?



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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreMobile Programming > WML Tables with xslt


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT