Solved

How saving xml to xls?

Posted on 2003-11-02
3
676 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 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

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…
Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

696 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