?
Solved

How saving xml to xls?

Posted on 2003-11-02
3
Medium Priority
?
678 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
makc earned 200 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The Problem How to write an Xquery that works like a SQL outer join, providing placeholders for absent data on the outer side?  I give a bit more background at the end. The situation expressed as relational data Let’s work through this.  I’ve …
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

765 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