[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Display XML as excel spreadsheet

Subject: Re: Display XML as excel spreadsheet
From: "I-Lin Kuo" <ikuoikuo@xxxxxxxxxxx>
Date: Fri, 30 May 2003 19:06:23 +0000
xml to excel transformation
My XML comes from a Database, and I am using XSL to get a formatted display. If the content type is html it works perfectly, but when I change the content type to "application/vnd.ms-excel", I just get a XML dump in the spreadsheet, and not a properly formatted output. Where am I going wrong?

I think what's happening you're asking the browser (IE, I presume) to do both the xsl transformation and display it as excel. It can only do one or the other, depending on content/mime-type. I suspect that when the mime-type is html, it looks to see if it's really xml, and in that case, does the transformation. I don't believe you can't have your cake and eat it too. If you want both transformation and excel, you're going to have to do the xsl transformation on the server, not the client browser.


I-Lin Kuo, Ann Arbor, MI
Macromedia Certified ColdFusion 5.0 Advanced Developer
Sun Certified Java 2 Programmer
Ann Arbor Java Users Group (http://www.aajug.org)

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.