Solved

How saving xml to xls?

Posted on 2003-11-02
3
669 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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now