XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.

ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!
Download and Activate to enter!

Web development can be a daunting task, even for specialists. There is a lot of information to absorb and a lot of technologies to learn in order to manage a superior website. When trying to learn the ropes, developers need a reliable source to introduce new ideas that can be easily implemented. When working on large projects, even web veterans may run into a technology or an aspect of a technology that they are unfamiliar with.

Learn More!


Download to Enter
| Contest Rules

Tutorials | Forums

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 29th, 2008, 08:50 AM
Mario7 Mario7 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2008
Posts: 3 Mario7 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 17 sec
Reputation Power: 0
Converting XLS to XML´s

Hi all,

I need to convert an XLS file in to XML files. None of the commercial products i´ve tryed so far are not working because the schema is too complex.

What should i try next? Is Visual Studio, C#, PHP to difficult for a beginner to do it or should i have a go at it?

I can send you an example of the XLS and XSD file if you think you can help.

Best,
Mario

Reply With Quote
  #2  
Old October 29th, 2008, 09:31 AM
jkmyoung jkmyoung is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2004
Posts: 577 jkmyoung User rank is Sergeant Major (2000 - 5000 Reputation Level)jkmyoung User rank is Sergeant Major (2000 - 5000 Reputation Level)jkmyoung User rank is Sergeant Major (2000 - 5000 Reputation Level)jkmyoung User rank is Sergeant Major (2000 - 5000 Reputation Level)jkmyoung User rank is Sergeant Major (2000 - 5000 Reputation Level)jkmyoung User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 4 h 10 m 5 sec
Reputation Power: 57
Is there any reason you cannot use Microsoft Excel 2003 or 2007?
Or is the schema vastly different compared to what you need?
Also, how are you transforming the file? Are you saving as xml, and then converting the xml with xslt or some other script?

I'm guessing you found most commercial products to be for business people, providing limited simplistic functionality.

Reply With Quote
  #3  
Old October 29th, 2008, 10:02 AM
Mario7 Mario7 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2008
Posts: 3 Mario7 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 17 sec
Reputation Power: 0
Umm, my problem is that i need to create lots of XML files from one big Excel sheet.

The XLS file contains information about hundreds of products (Music CD´s). I have to generate a separate XML file for each product. I can´t even map out one product in Excel (2007). The XSD is too complex.

After I get the XML´s im going to feed them to a server and it check´s the XML´s well formatedness.

Quote:
Are you saving as xml, and then converting the xml with xslt or some other script?


No. Would it work?

I´ve been told it´s easily doable with C++ or PHP. I really don´t know sh** about either of these languages but i need to learn it.

mario

Reply With Quote
  #4  
Old October 30th, 2008, 12:23 PM
jkmyoung jkmyoung is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2004
Posts: 577 jkmyoung User rank is Sergeant Major (2000 - 5000 Reputation Level)jkmyoung User rank is Sergeant Major (2000 - 5000 Reputation Level)jkmyoung User rank is Sergeant Major (2000 - 5000 Reputation Level)jkmyoung User rank is Sergeant Major (2000 - 5000 Reputation Level)jkmyoung User rank is Sergeant Major (2000 - 5000 Reputation Level)jkmyoung User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 4 h 10 m 5 sec
Reputation Power: 57
How do you have your data laid out? Is it like database form, where one sheet contains a table and then rows of data for the table?

If so is it possible to convert each of the tables into a comma delimited form, (.csv) for easy reading in either PHP or C++, etc?

Reply With Quote
  #5  
Old October 31st, 2008, 03:30 AM
Mario7 Mario7 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2008
Posts: 3 Mario7 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 17 sec
Reputation Power: 0
Quote:
Originally Posted by jkmyoung
How do you have your data laid out? Is it like database form, where one sheet contains a table and then rows of data for the table?

If so is it possible to convert each of the tables into a comma delimited form, (.csv) for easy reading in either PHP or C++, etc?


Yes.

Reply With Quote
  #6  
Old August 17th, 2011, 04:00 PM
jetrnsef jetrnsef is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2011
Posts: 3 jetrnsef User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 5 sec
Reputation Power: 0
Thumbs up XLS to XML Converter - User Friendly

i would say this API would help. a little parser is also included so you can tweak your excel sheet and generate XML according to that. This might save your time

XLS to XML Converter
---------------------
http:// xls2xml(.)appspot(.)com

remove the brackets and paste the URL, its open source

thanks

Reply With Quote
  #7  
Old September 30th, 2011, 09:13 AM
henry48 henry48 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2011
Location: united states
Posts: 2 henry48 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 m 37 sec
Reputation Power: 0
Hello,

I think XLSX file is a Microsoft Excel file format Office Open XML file spreadsheet. Learn how to open a file or convert XLSX XLSX file to another file format.

Reply With Quote
  #8  
Old January 4th, 2012, 10:22 PM
kristy85 kristy85 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 13 kristy85 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 49 m 7 sec
Warnings Level: 5
Reputation Power: 0
Does anyone know of a tool that enables you to convert from a
delimited text file or spreadsheet into an XML file? I figure
something like this should exist. I'm just trying to save some time.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > Converting XLS to XML´s


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 6 - Follow our Sitemap