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

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

Help me
Thanks in Advance.
Aug 11 '08 #1
7 17474
13,262 MVP
Using a tool or a programming language?
Aug 12 '08 #2
92 New Member
Using Programming Language....... ....
Aug 13 '08 #3
13,262 MVP
Using Programming Language....... ....
Which one?
Aug 13 '08 #4
92 New Member
Using .net programming language
Aug 14 '08 #5
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>
Aug 19 '08 #6
2 New Member
This web page helped me and it should help you:


This was the most simple and easy to understand process that I have found in my internet searches.
Aug 20 '08 #7
3 New Member
I found a solution on C-sharp corner. I think that the method in this article may be helpful for you.
Hope Helpful!
Feb 14 '12 #8

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

Similar topics

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...
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
by: ISSAGAMER | last post by:
Hi To All I'm Trying To Convert Data Form Excel To Access
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
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
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>
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?
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
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
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 ...
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,...
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...
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,...
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...
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...
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...
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...
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
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.