Beware of Microsoft's XML
Web Informant #149, 29 March 1999
One of the most interesting innovations in Microsoft's latest beta of its Office 2000 suite is the way it uses XML, or Extensible Markup Language, as its common file format. This has important implications to those of us who create and exchange documents, and it will affect what we use to author web pages in the future.
Not long ago, I used to receive nonMicrosoft Office documents from my correspondents. Now I rarely receive that errant Word Perfect or Lotus 123 file. When I do I often castigate my correspondents and tell them to send me their Microsoft equivalents. Not because I love Microsoft products, but because that is what the world uses. Remember revisableform text? Gone. Remember nonPowerPoint presentations? Nearly extinct. Microsoft Office is the default document interchange standard today.
But to truly make documents interchangeable, one burning issue remains issue: file compatibility. When Office 97 came out, people using Office 95 or earlier versions couldn't read the newer document formats. On the one hand, this incompatibility encourages people to switch to the new version. But it makes upgrading painful for corporations that want to exchange information easily, seamlessly.
To get around the problem this time, Microsoft has chosen a standardsbased format, XML, for all its Office applications. (Yes, Internet Explorer 5 also supports XML, but that isn't really the point of my discussions here.) Let's call this support MSXML, to distinguish it from the standards effort.
To test this format, I saved a few Word and PowerPoint 2000 files in the MSXML format and then opened them in a text editor. What I found surprised me: a single HTML file that used to be intelligible was transformed into multiple files.
With my Word and PowerPoint documents I have a huge HTML/XML header that includes all sorts of font metric definitions and meta tags and file information. The body text does some neat tricks to preserve font size, font color, justification and other font information. All this makes it easier to exchange Word and PowerPoint 2000 document with someone else, even people who aren't running Office 2000. If they have IE 5 or another browser that supports MSXML, they can see the style and layout of my text, which HTML has done poorly since day one.
One other feature in Word 2000 makes life easier for web authors. You can save documents directly to your web site via FTP. Once you enter the URL, username and password, the FTP site appears on your local directory tree as just another location. Nice. Very nice.
The downside is that I must make a pact with the devil. Once I go down the route of saving my pages as MSXML, the naked code may become unintelligible. The pages also take up more room and so take a bit longer to download and view.
Now, I am not an XML programmer, or even any kind of programmer. I have purposely kept my web pages sparse and relatively devoid of "advanced" features, in the name of being browser agnostic and universally viewable. I fear that the more people use Word 2000, the more that MSXML will replace ordinary HTML code on the web.
What about PowerPoint 2000? Earlier versions of PowerPoint could publish presentations to the web. While easy to use, this produced rather clunky code and a long series of files. The new and XMLized version produces a single "pointer file" that contains code enumerating the other files in a separate directory that comprises your PowerPoint slide show.
If you buy this, then the idea of using Microsoft for putting IE into the operating system becomes a minor sideshow. With Office 2000, something bigger is at stake, to capture all the current nonMS Office users, those few hardy holdouts who use Lotus and Corel tools to create their documents, spreadsheets and presentations.
And while they are at it, Microsoft also wants to capture those who use non-MS tools for writing web pages. The underlying effort is to be the single document interchange vendor for everyone, even for folks who don't run Windows on their desktop. And MSXML will be the Trojan Horse to pull this off.
Microsoft is trying to move people away from ordinary HTML v3 documents and make Office 2000 the standard tool for web authoring. And while earlier efforts (Front Page most memorable) haven't really caught on, I think this time Office 2000 has a solid chance.
And while I welcome the advances in file compatibility that Office 2000 brings to the party, it has a price in terms of page readability and size that you might not want to pay.
Copyright © 1999, 2000 media.org.
Web Informant copyright 1999 by David Strom, Inc., reprinted by permission
Web Informant is ® registered trademark with the U.S. Patent and Trademark Office.
ISSN #1524-6353 registered with U.S. Library of Congress.