Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 84876

Pages: 1
JavaWorld
addict


Reged: 06/20/03
Posts: 482
Converting XML to spreadsheet, and vice versa
      #39293 - 10/19/06 12:54 AM

Converting XML to spreadsheet, and vice versa

Post Extras: Print Post   Remind Me!   Notify Moderator  
Kalpesh
stranger


Reged: 09/25/03
Posts: 3
Re: Converting XML to spreadsheet, and vice versa [Re: JavaWorld]
      #39517 - 10/24/06 06:57 PM

This is a very very complex way and its just showing how to use xml and how to use excel and usign them in tandem. What people want is an API like JAXB where you can marshal or unmarshal to xml from Java.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Mesirii
Unregistered




Re: Converting XML to spreadsheet, and vice versa [Re: JavaWorld]
      #39518 - 10/24/06 07:14 PM

This is one of the worst articles I ever read (within 5 minutes). There is no abstraction at all you are always faster copying the values of the xml file to excel and vice versa. This code does not support different value types, column names, etc. It would be so simple to provide a generic solution mapping named cells to xml elements. And why using DOM if SAX would be more than sufficient (and for writing the values a homegrown solution, would be the easiest way).

I'm deeply disappointed.

Michael


Post Extras: Print Post   Remind Me!   Notify Moderator  

Unregistered




Re: Converting XML to spreadsheet, and vice versa [Re: Mesirii]
      #39562 - 10/25/06 05:19 PM

Agreed,

'..Ajay Vohra is senior architect at DataSynapse, currently working on virtualizing business-critical applications on a shared infrastructure...'

It really makes me curious what 'architecture' they would be using


Post Extras: Print Post   Remind Me!   Notify Moderator  

Unregistered




Re: Converting XML to spreadsheet, and vice versa [Re: Mesirii]
      #40418 - 11/10/06 09:50 AM

This could be done a lot more easily using XSLT to convert to MS Excel xml format. Poor article.

Post Extras: Print Post   Remind Me!   Notify Moderator  

Unregistered




Re: Converting XML to spreadsheet, and vice versa [Re: Mesirii]
      #41032 - 11/22/06 08:02 PM

OR you could use the automated CellBinder API found here. It's not free, but then you get what you pay for! It's the most robust, automated all Java spreadsheet API there is.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 4269

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5