OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Data streams

[ Lists Home | Date Index | Thread Index ]

Stephen E. Beller wrote:

> Here's the actual code generated by Excel:

 From the code below we see that the XML document does contain quite a 
bit of information that's simply not present in a CSV file. The mere act 
of saving to CSV loses information compared to either the XML or native 
binary Excel format. You're comparing oranges to grapefruits, and 
concluding oranges are smaller, no surprise there. A fairer comparison 
would eliminate the extra metadata Excel includes in its binary and XML 
files but not in the CSV files, and then compare the compressed XML and 
CSV formats.

> - <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
> xmlns:o="urn:schemas-microsoft-com:office:office"
> xmlns:x="urn:schemas-microsoft-com:office:excel"
> xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
> xmlns:html="http://www.w3.org/TR/REC-html40";>
> - <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
>   <Author>SEB</Author> 
>   <LastAuthor>SEB</LastAuthor> 
>   <Created>2004-12-06T20:40:33Z</Created> 
>   <Company>abc</Company> 
>   <Version>10.6714</Version> 
>   </DocumentProperties>
> - <OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
>   <DownloadComponents /> 
>   <LocationOfComponents HRef="file:///\\" /> 
>   </OfficeDocumentSettings>
> - <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
>   <WindowHeight>9345</WindowHeight> 
>   <WindowWidth>15225</WindowWidth> 
>   <WindowTopX>0</WindowTopX> 
>   <WindowTopY>60</WindowTopY> 
>   <ProtectStructure>False</ProtectStructure> 
>   <ProtectWindows>False</ProtectWindows> 
>   </ExcelWorkbook>
> - <Styles>
> - <Style ss:ID="Default" ss:Name="Normal">
>   <Alignment ss:Vertical="Bottom" /> 
>   <Borders /> 
>   <Font ss:FontName="Tahoma" /> 
>   <Interior /> 
>   <NumberFormat /> 
>   <Protection /> 
>   </Style>
>   </Styles>
> - <Worksheet ss:Name="Sheet1">
> - <Table ss:ExpandedColumnCount="1" ss:ExpandedRowCount="100"
> x:FullColumns="1" x:FullRows="1">

-- 
Elliotte Rusty Harold  elharo@metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS