[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Data streams
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@m... 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|