aspose file tools*
The moose likes XML and Related Technologies and the fly likes Inserting Image in Spreadsheet Using XSL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Inserting Image in Spreadsheet Using XSL" Watch "Inserting Image in Spreadsheet Using XSL" New topic
Author

Inserting Image in Spreadsheet Using XSL

ShivPrakash Srivastava
Ranch Hand

Joined: Mar 24, 2005
Posts: 88
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
Marshal

Joined: Mar 22, 2005
Posts: 42599
    
  65
What do you mean by "generate a spreadsheet"? What kind of output format are you using?


Ping & DNS - my free Android networking tools app
ShivPrakash Srivastava
Ranch Hand

Joined: Mar 24, 2005
Posts: 88
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
Bartender

Joined: Oct 14, 2005
Posts: 18886
    
    8

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inserting Image in Spreadsheet Using XSL