473,835 Members | 1,971 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to convert XML data to EXCEL

92 New Member
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 17474
r035198x
13,262 MVP
Using a tool or a programming language?
Aug 12 '08 #2
Limno
92 New Member
Using Programming Language....... ....
Aug 13 '08 #3
r035198x
13,262 MVP
Using Programming Language....... ....
Which one?
Aug 13 '08 #4
Limno
92 New Member
Using .net programming language
Aug 14 '08 #5
jkmyoung
2,057 Recognized Expert Top Contributor
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
TrevRex
2 New Member
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
Landy67
3 New Member
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
9915
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 data from "DataView" using "RowFilter" method. Here I m using like operator for searching, its work fine for string but if data type of "Data Column" is Date or Integer then its not working. Now I m decide I will convert data types of all column...
1
3240
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 Spreadsheet::WriteExcel::Chart but not in greater details. Can anyone explain me how to do the same. Thanks
1
1302
by: ISSAGAMER | last post by:
Hi To All I'm Trying To Convert Data Form Excel To Access
1
2709
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
6628
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 (numbers) to a nibble representation? thanks for any idea
2
1374
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 Lebihan</contactname> <contacttitle>Owner</contacttitle> <address>12, rue des Bouchers</address> <city>Marseille</city>
4
2898
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 System.Object to System.Double" Of course, I can do iteration and, as a bottom line, using Double.Parse(cell_value.ToString()). The question is there a more efficient way to do the job?
2
2398
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
1228
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: using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1
10
5149
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 formula into a Access expression. I’m including the numbers of minutes that equal to a unit (if this helps). Number of Minutes in Military Time Units 0.13 minutes through 0.37 minutes = 1 unit 0.38 minutes through 0.62 minutes ...
0
9653
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10815
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10562
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10236
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9348
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7768
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5639
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3997
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3092
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.