Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inserting Image in Spreadsheet Using XSL

 
ShivPrakash Srivastava
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Iam using XSL to generate spreadsheet.In the spreadsheet I need to add a image as well,Can anyone let me know how to do that?

Thanks in advance
Shiv
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "generate a spreadsheet"? What kind of output format are you using?
 
ShivPrakash Srivastava
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Iam using the output format as "application/vnd.ms-excel"in the jsp.Basically,what is happening is the xsl is rendered and Iam want to export the data in excel format.Along with that I want the companys logo as well in the excel.But Iam not getting the logo in the excel.

Thanks
Shiv
 
Paul Clapham
Sheriff
Pie
Posts: 20716
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I still don't understand. With XSLT your output can only be XML, HTML, or text. You cannot be generating Excel-formatted data from XSLT.

Now it's possible you are generating a CSV file, which is text and which Excel can read. And you can't include images in that format. But please post again with more details if this guess is incorrect.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic