Re: iTunes Music Store XML

[prev] [thread] [next] [lurker] [Date index for 2004/04/21]

From: Geoff Richards
Subject: Re: iTunes Music Store XML
Date: 09:39 on 21 Apr 2004
On Tue, Apr 20, 2004 at 09:26:27PM -0400, Thomas R. Sibley wrote:
> ARGH.  The XML used in Apple's iTunes Music Store is already verbose as 
> hell (which has it's benefits for them in flexibility of layout, so I'll 
> let it slide), but what I can't figure out is why, oh why, they had to 
> use markup like the following...
> 
> <dict>
>   ...
>   <key>kind</key><string>song</string>
>   <key>artistName</key><string>Hank Dogs</string>
>   <key>artistId</key><string>2730069</string>
>   <key>bitRate</key><integer>128</integer>
>   ...
> </dict>

Why not:

   <dict key="song" artistName="Hank Dogs"
         artistId="2730069" bitRate="123" />

I mean, XML has a 'dictionary' structure in attributes anyway,
so why not use it?  Sure, it doesn't encode the type, but only
Java weenies care about stuff like that anyway.

> ...

-- 

--- Geoff Richards -------------><-------------- http://ungwe.org/ ---
"I tried to fling my shadow at the moon,
 The while my blood leapt with a wordless song."  --  Theodore Roethke

Generated at 14:02 on 01 Jul 2004 by mariachi 0.52