When it comes to XML I must admit that I was not what you would call an "early adopter". The reason is that XML is so bloated. If you look at its data-to-structure ratio XML is not really the most efficient way to transport information.
But of course there are so many things that speak in favour of XML that finally it has also become my favourite data transport vehicle. But the filesize is still something that bothers me.
That's why I wrote a server-side PHP script which can reduce XML filesizes a lot without changing the way that you access the data. It achieves this by creating a compressed swf out of the xml file. Instead of loadXML you use loadMovie to get the data. After the loading has finished you'll find an XML-object with a name of your choice inside. And instead of 32500 bytes it's merely 7400 bytes small.Posted at May 15, 2003 06:44 PM | Further reading