Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 29th, 2008, 03:13 AM
Registered User
 
Join Date: May 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default problems with excel generated usng xsl

In our application we are generating excel sheet using stylesheet.

When I open the application generated excel using textpad, the styles and cell's data can be seen. There are 22 cells.

But, when I open and save the excel without doing any changes using Excel 2003, the format gets changed somehow.

If I open the saved excel using textpad now, there are lesser cells than 22.

After analysis, the reason was identified as "When two consecutive cells are blank in excel, they are colspanned when saved using excel 2003".

Is this a bug in MS excel 2003 or should this be handled in stylesheet used in our application? Is there any way to avoid this?

Can this be avoided using any specific style attribute in stylesheet? I tried searching but could not find a proper solution.

Kindly help me in this regard if you have any idea on this issue.

 
Old May 29th, 2008, 03:19 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

How is this related to XSLT? I suggest you ask on an Excel forum.

/- Sam Judson : Wrox Technical Editor -/
 
Old May 29th, 2008, 03:26 AM
Registered User
 
Join Date: May 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes this is related to xslt.

excel is generated using xslt.
So may be some more style attributes need 2 be added..

thats why i placed the post here.

 
Old May 29th, 2008, 03:34 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

If you know the XML you are trying to generate with your XSLT then tell us what you are trying to generate and how you've tried it so far and whats not working.

If you are asking us to verify details of what XML format Excel accepts then that is outside the realms of this forum.

/- Sam Judson : Wrox Technical Editor -/
 
Old May 29th, 2008, 03:39 AM
Registered User
 
Join Date: May 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok thanks !!

 
Old May 29th, 2008, 01:30 PM
Authorized User
 
Join Date: May 2008
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:So may be some more style attributes need 2 be added..

thats why i placed the post here.
probably you are talking about
ss:Index="X" attribute,
which can be used in <Row> or <Cell> elements.
Where "X" means for 'Row' number of row, and for 'Cell' - number of column the value to be put.





Similar Threads
Thread Thread Starter Forum Replies Last Post
XSL(T) problems with xsl:element pan69 XSLT 3 December 13th, 2007 06:24 AM
Export from Access to Excel in ASP generated page u0107 Classic ASP Basics 1 July 16th, 2006 05:25 AM
add xsl style sheet in generated xhtml using xslt. kvmreddy XSLT 2 April 10th, 2006 02:22 PM
How to connect to sql server database usng jdbc? method Java Databases 1 April 13th, 2005 09:23 PM
hello, some problems with XSL-FO LuisMM XSLT 4 December 19th, 2003 02:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.