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

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 April 23rd, 2003, 06:53 PM
cjsutton881 cjsutton881 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Rockford, Illinois
Posts: 4 cjsutton881 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question converting xls to xml---slow process...

I have a need to convert an excel database to an xml document that I can publish on the intranet.
I have a xls with macro that I believe is close to doing this conversion but it is not working properly.

Any thoughts on it?

I have zipped it and a sample excel database up along with the xsl that is to publish the xml on the web.
Attached Files
File Type: zip zipped.zip (70.9 KB, 39687 views)

Reply With Quote
  #2  
Old April 24th, 2003, 09:00 AM
cjsutton881 cjsutton881 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Rockford, Illinois
Posts: 4 cjsutton881 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi All,

Thought I should clarify the attachment. Never mind the strange names, I have torn apart a more robust upload tool and just streamlined it to do xls to xml conversion, but I'm getting errors.

First download and save files to your hard drive. Then, you need to open the "erqWizard.xls" first and click on the large button. This will open a browser where you find and open the "Template.xls" . This is where the error is coming up. Clicking debug will take you straight to the code. If someone could offer coding changes that do not add more errors, it sure would be appreciated!!

Thanks in advance!!!

Reply With Quote
  #3  
Old April 24th, 2003, 09:54 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,826 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 1 Day 10 h 29 m 39 sec
Reputation Power: 278
There is an example around, made with jsp, that uses Jakarta POI to convert from Excel to Html.
Works well enough and is platform independent.

Reply With Quote
  #4  
Old April 24th, 2003, 06:18 PM
cjsutton881 cjsutton881 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Rockford, Illinois
Posts: 4 cjsutton881 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks so much.

I did download the JavaExcelApi and Ant, but just as did Charkus some months ago, along came the solution.


It wasn't without some struggling but I completed the code to the erqWizard tool with the help of a friend.

I basically had code in the wrong place. After I cleaned that up and changed my processing instructions to be in line with xml and the correct no. of VBA arguments I was fine.

Thank you so very much!!

Reply With Quote
  #5  
Old April 25th, 2003, 07:06 PM
Zitan Zitan is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: May 2001
Location: New Zealand
Posts: 638 Zitan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 m 10 sec
Reputation Power: 8
If you solved your problem, then cool

However what I use for such coversion is a little product called Open Office which can automate via a Java API. I then call the java classes with PHP (ain't PHP cool like that). OOo converts Excel, Word and Powerpoint to XML, and Excel to MathML (including formulas). Don't tell anyone I told you, its our "competitive advantage" ... lol

Good luck,
Z.

Reply With Quote
  #6  
Old August 28th, 2003, 11:23 PM
wyuen wyuen is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 1 wyuen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 47 sec
Reputation Power: 0
Quote:
Originally posted by Zitan
If you solved your problem, then cool

However what I use for such coversion is a little product called Open Office which can automate via a Java API. I then call the java classes with PHP (ain't PHP cool like that). OOo converts Excel, Word and Powerpoint to XML, and Excel to MathML (including formulas). Don't tell anyone I told you, its our "competitive advantage" ... lol

Good luck,
Z.


I am doing my thesis which requires conversion of xls to xml. I have no clue to do that by OOo even i have read the development guide and others. Do u need to have OOo installed in server? Can u just pull out the library class and implement in ur own program?
Thank you very much

Reply With Quote
  #7  
Old August 29th, 2003, 08:06 AM
cjsutton881 cjsutton881 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Rockford, Illinois
Posts: 4 cjsutton881 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
wyen,

Hopefully Zitan will reply you, as I don't have any experience with open office.


Zitan,

I plan on building myself a server here shortly. I want to put Gnu/Linux on one hard drive and Windows 2000 server on the other. Any specific recommendations as to type of RAM (the amount I'm thinking will probably have to be 512M) and/ or type of processor? Also what about the brand or type of motherboard and power supply, or doesn't that matter as long as it is compatible?

Thanks in advance!

Cathy S.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > converting xls to xml---slow process...


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway