Solved

How saving xml to xls?

Posted on 2003-11-02
3
675 Views
Last Modified: 2006-11-17
I create Object type xml (XMLData) by JavaScript:
      XMLData = new ActiveXObject("msxml2.domdocument.3.0");
      XMLData.async = false;
      XMLData.load("Details2XML.aspx");

              (Details2XML.aspx create the xml)
Now I want giving option to user ,to save this Object (XMLData)
As xls (excel file).
I want that user can named the xls file and can choose the
Path where will be save.

Questions are:
1.how to change xml Object to file excel
2.how to give the optional to user to choose the
Name file and where it will save  

Thanks


0
Comment
Question by:RanSIV
3 Comments
 
LVL 3

Accepted Solution

by:
makc earned 50 total points
ID: 9680571
there are several ways:
a) pure scripting with Excel.Application object (tough);
b) build script a) with XSLT (a bit easier)
c) pure XSLT transformation into importable form. to get an idea what you should get with XSLT, create empty excel book and save-as it as xml table.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unattended XML settings 4 122
Detect file exist or not 3 179
Need to take date/time from xml like: '10/12/2016 14:30' and place into a timestamp field 10 75
XSLT Help 12 34
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question