OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]


--Apple-Mail-10--58425849
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

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>


--Apple-Mail-10--58425849
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Disposition: attachment;
	filename=smime.p7s

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGHDCCAtUw
ggI+oAMCAQICAwuKuTANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0EwHhcNMDQwMTIyMjMzOTA2WhcNMDUwMTIxMjMzOTA2WjBGMR8wHQYDVQQD
ExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSMwIQYJKoZIhvcNAQkBFhR0YnJheUB0ZXh0dWFsaXR5
LmNvbTCCASIwD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AjBgNV
BAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25h
bCBGcmVlbWFpbCBJc3N1aW5nIENBAgMLirkwegYLKoZIhvcNAQkQAgsxa6BpMGIxCzAJBgNVBAYT
AlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3
dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIDC4q5MA0GCSqGSIb3DQEBAQUABIIBAMDu
Vg5RyXkLq6hBN9OEmz7jQVlMg3/Phz3A1w73DALsN8wU8muTps3T8Ku2TI1wMfwbkVNywetgAUog
5qleGsTIFpAL6tGcbODS/TeaQRHIF3FxnIIxsZEmxiRqualkdb7lSedtVLHXxjybqaTINdw/O1xM
3PVY++gCLLcBaZSVuOwLjByUwgOxWb62zXYEmcZnoTNtMntKgpTN+0sJYQPdTkv5P1Mzw8rjYKy7
CKnUZFK3WQfXRXa1xqBw+jsU7z/UsIbSUqI3pOZSgxwLT7NgRimRPZb0Mqc1zsqmbteb/Riwa6q5
8F06ENk3MyDwsrFqz+9UEdvIj2dBjUwoHc8AAAAAAAA=

--Apple-Mail-10--58425849--





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS