Geeks With Blogs
Matt Watson Software developer, product visionary, and master of #dadops

I like that Office 2003 saves files in an XML format and that Office 12 is supposed to have even better support for this.

My question is... why not have it automatically compress the saved xml data? Everyone knows XML = bloated file size. I just took an Excel XML spreadsheet that was 45k and zipped it to ~5k.

MySpreadsheet.zxml or something?\

We need a new file format. “ZXML“ or “ZML“

Who is with me here?

Posted on Monday, September 5, 2005 8:59 AM | Back to top


Comments on this post: Office documents, XML, and zip

# re: Office documents, XML, and zip
Requesting Gravatar...
>>I like that Office 2003 saves files in an XML format
Nope, the support is scarce, except for Word 2003. And even that is only partially a round-trip due to that OLE streams are left as binary base64-encoded xml fragments.


>>why not have it automatically compress the saved xml data?
Well, isn't this the definition of the original binary file format?
Xml is just way more bloated, (and not round-trip), so you need to zip the stuff. If you zip the stuff in the xml itself, then you've lost all benefits of xml. xml compression should happen at the transport level, not at the application level. What Microsoft is doing is not really compressing xml, what they are doing is packaging. That is supposed to enables programming scenarios that binary formats didn't allow so far (well, that 's what the marketing brochure says, since there are tons of ISVs out there that do just that).

Left by anon on Sep 05, 2005 9:24 AM

# re: Office documents, XML, and zip
Requesting Gravatar...
Good idea, from what I hear that's how the Office 12 file formats work. Check out Channel9 for more details on that, but it looks like the docx and other formats are the new XML schema + ZIP compression & packaging.
Left by Ryan on Sep 05, 2005 10:25 AM

# re: Office documents, XML, and zip
Requesting Gravatar...
This sounds cool, I think XML is going to be very popular at some point in the future, thank you vinbuddy!
Left by Juice Large on Sep 06, 2005 7:06 AM

# re: Office documents, XML, and zip
Requesting Gravatar...
I agree with you. It is really a useful and easy to use applications. - Antiquities of California
Left by Tim Waltz on Jan 27, 2017 4:59 PM

Your comment:
 (will show your gravatar)


Copyright © Matt Watson | Powered by: GeeksWithBlogs.net