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

Re: Producing Excel spreadsheet from XML data

Subject: Re: Producing Excel spreadsheet from XML data
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Fri, 8 Jun 2001 12:52:12 -0400
xml script excel
[MacEwan, ]
>
> I am investigating populating an Excel 97 spreadsheet with an XSLT
> transformation of existing XML data.  I would like to produce the
> spreadsheet file as an enhancement to an existing batch process on a (DONS
> ASBESTOS SUIT) Unix server (ASBESTOS SUIT OFF).
>
> Similar to the answers about Quark, I suspect that an XSL solution that
> directly produces a pretty, formatted spreadsheet will be really ugly if
not
> impossible under Unix.
>
> Instead will I have to implement a three step process?  (1) call an XSL
> script to transform my input XML into an output document (say a CSV text
> file) that contains the desired data. (2) FTP the output document to my NT
> server (3) write VBScript to import the output document into the pretty
> Excel spreadsheet.
>

Several things come to mind:

1) Excel (97+) is very good at importing an html file and displaying it.  If
you used a stylesheet to create an html file and got Excel to open it, you
might get just what you need.

2) You might be able to script excel to use msxml3 to retrieve the xml file,
transform it, and then populate the spreadsheet from the transformed DOM.

Otherwise, your approach seems very do-able.

Cheers,

Tom P


 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.