Re: [xml-dev] [newbie] Mapping a Map 101?

From
Tim Bray <>
To
PA <>
Date
2004-12-11T22:07:05Z
ID
<>
Thread
Re: [xml-dev] [newbie] Mapping a Map 101?
On Dec 10, 2004, at 2:04 PM, PA wrote:

> Hello,
>
> Not quiet sure if this is the right forum for such a basic question, 
> but here you go...
>
> I would like to map a, er, map (as in java.util.Map) into a XML 
> element... but I'm not quiet sure how "verbose" I should be...

If you have a Macintosh, the disks are just stuffed with "plists", 
which are an XML expression of a map, sort of; the XML syntax is rather 
horrible:

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" 
"http://www.apple.
com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
         <key>Alpha When In Background</key>
         <false/>
         <key>Animate Logging In Users</key>
         <true/>
         <key>Auto Away</key>
         <true/>
         <key>Away Colour</key>
         <string>0.000000 0.000000 0.000000 1.000000</string>