473,385 Members | 1,317 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to convert XML data to EXCEL

92
Hi,

Can anyone help How to convert XML file into EXCEL file
with some samples........

Urgent,
Help me
Thanks in Advance.
Aug 11 '08 #1
7 17464
r035198x
13,262 8TB
Using a tool or a programming language?
Aug 12 '08 #2
Limno
92
Using Programming Language...........
Aug 13 '08 #3
r035198x
13,262 8TB
Using Programming Language...........
Which one?
Aug 13 '08 #4
Limno
92
Using .net programming language
Aug 14 '08 #5
jkmyoung
2,057 Expert 2GB
In general, when converting xml to an excel sheet, you're converting the data into a table - row format.
You need to define where each of your rows are, and which of the data you want for each row.

I suggest reverse engineering, by creating a small sample spreadsheet in excel (2003 or later) and then saving it in the xml format. You'll find that the data generally goes into a format like:
Expand|Select|Wrap|Line Numbers
  1. <Worksheet>
  2.   <Table>
  3.    <Row>
  4.     <Cell><Data ss:Type="String">a</Data></Cell>
  5.     <Cell><Data ss:Type="String">b</Data></Cell>
  6.     <Cell><Data ss:Type="String">c</Data></Cell>
  7.    </Row>
  8.    <Row>
  9.     <Cell><Data ss:Type="Number">1</Data></Cell>
  10.     <Cell><Data ss:Type="Number">2</Data></Cell>
  11.     <Cell><Data ss:Type="Number">3</Data></Cell>
  12.    </Row>
  13.   </Table>
  14. </Worksheet>
  15.  
Aug 19 '08 #6
This web page helped me and it should help you:

http://www.mrexcel.com/tip064.shtml

This was the most simple and easy to understand process that I have found in my internet searches.
Aug 20 '08 #7
Hello,
I found a solution on C-sharp corner. I think that the method in this article may be helpful for you.
http://www.c-sharpcorner.com/UploadF...eport-in-net3/
Hope Helpful!
Feb 14 '12 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: neeraj | last post by:
Hi All Can any give me the code for convert "DataColumn" data type of "DataTable". Even if data table already populated (have data) Actually I am creating one search module which searches the...
1
by: tito | last post by:
Hi All, I am trying to write a code which will convert the Excel sheet document to Pie Diagarm using Perl Script.I have already searched in CPAN which gives the details of...
1
by: ISSAGAMER | last post by:
Hi To All I'm Trying To Convert Data Form Excel To Access
1
by: Satwant | last post by:
Hi, How to convert a excel file to .csv format? Please provide me a basic C program code to do this funcionality. Thanks
8
by: =?Utf-8?B?UmljYXJkbyBRdWludGFuaWxsYQ==?= | last post by:
i need to convert data from string to nibble wich (nibble is a four bits representation) As example i have the following code string data1 = "12345678"; so ¿how can i convert this data...
2
by: Yane Maria | last post by:
I have xml data in my vb.net mobile application: customer.xml <dataset> <customers> <customerid>BONAP</customerid> <companyname>Bon app'</companyname> <contactname>Laurence...
4
by: My interest | last post by:
Somewhat I remember I used to be able to do sth like the the following double values = (double)excel_range.Value2 But it seems to be not working any more, throwing an exception "cannot convert...
2
by: prince23 | last post by:
hi, 1: is dere any way to covert the xml data into excel sheet. 2: and from database (sql server 2005 ) to an excel sheet thank you
0
by: rshin2020 | last post by:
Hi. I need to write a simple programme in Visual Studio 2005 in a console application for : String - Voltage, EmployeeID Number - 1.016, 00180000 respectively... Here's only what i have done:...
10
by: Cayetano | last post by:
I created a table that has a field name InTime and a field name OutTime with a calculated field name TotalTime. Now I need to create a calculated field name TotalUnits. I need to convert the excel...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.