mowi wrote:
> Hi David H,
>
> I have just tried that. It merged the rows but it has only put the
> last value in the field, not multiple values.
>
> so i have changed the excel so it looks like this:
> http://spreadsheets.google.com/pub?key=pEBZe9K5tabOdZXuL1uEoRQ
>
> Babel translates it to this .js:
> http://www.moniquedewilt.com/test/data%20with%20id.js
> or run through exhibit:
> http://www.moniquedewilt.com/test/example%20with%20ids.html
>   
You're right--that's a bug. The Excel Babel converter only takes the 
last row. If you care to fix it for your own use, the code in question 
is here

    
http://simile.mit.edu/repository/babel/trunk/converters/xls-converter/src/main/java/edu/mit/simile/babel/xls/XLSReader.java

The offending line is

    item.m_properties.put(column, cell);
m_properties is a hashmap from column to cell, but it should be from 
column to a list of cells.

David


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to