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 December 3rd, 2008, 09:54 AM
Registered User
 
Join Date: Dec 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default XML spreadsheet "comment" element in Excel.

My program builds an XML spreadsheet that further should be opened in Excel. Everything fine, but the problem is with "comment" element. It opens in Excel as comment but it is shrinked. How can I make the "comment" text opened in Excel with all it's contents, not shrinked?

Example:
<Cell>
<Data ss:Type="String">Tra-lal-la</Data>
<Comment>
<ss:Data>
This is my comment textThis is my comment textThis is my comment textThis is my comment textThis is my comment textThis is my comment textThis is my comment textThis is my comment textThis is my comment textThis is my comment textThis is my comment textThis is my comment textThis is my comment textThis is my comment textThis is my comment textThis is my comment textThis is my comment text
</ss:Data>
</Comment>
</Cell>


 
Old December 3rd, 2008, 10:51 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

This is not an XSLT issue. If you find out what the output should look like (by asking on an Excel forum for example) then we can help you produce that.



/- Sam Judson : Wrox Technical Editor -/
 
Old December 3rd, 2008, 12:08 PM
Registered User
 
Join Date: Dec 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'll try to clarify it. When you define a "comment" element in XML Spreadsheet and then open the XML file in Excel and put the mouse on the commented cell, the comment will appear as a yellow rectangle with text. But if my comment is a long one, the yellow rectangle will appear nevertheless with the same size, i.e. part of the comment text is not shown.

My question is: how do define the XML Spreadsheet "comment", so it will show it's whole text in Excel.

 
Old December 3rd, 2008, 12:29 PM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

I don't know. Nor is anyone one this forum likely too, because your question is not an XSLT question, but an Excel question.

/- Sam Judson : Wrox Technical Editor -/





Similar Threads
Thread Thread Starter Forum Replies Last Post
import excel xml Spreadsheet to dataset krissri_mtc XSLT 2 May 30th, 2007 07:21 AM
Excel Spreadsheet Help SteveV VBScript 0 October 10th, 2006 04:42 PM
Excel Spreadsheet Help SteveV BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 0 October 10th, 2006 04:41 PM
Excel Spreadsheet Help SteveV BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 0 October 10th, 2006 04:40 PM
Help with formatting an excel spreadsheet lushh Access 0 October 1st, 2006 10:48 PM





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