[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: Thu, 29 May 2003 19:43:16 +0000
display xml in excel
I want to display XML as excel spreadsheet on the browser using XSL. Any suggestions.

Set the mime-type to "application/vnd.ms-excel". That tells the browser to forward the file to excel for display.


As to the actual format of the file, it can be any of the following (non-exhaustive):

1) regular plain ole xml -- this works best if it's xml that comes from a database in rows and fields, as excel doesn't intellligently display xml with nesting)
2) html table -- this allows you to control formatting, borders, etc. But it's quite verbose so you don't want to do this with a large file
3) csv
4) tab-delimited file


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)

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



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.