Re: plist to xml conversion of lists
Re: plist to xml conversion of lists
- Subject: Re: plist to xml conversion of lists
- From: Joe Little <email@hidden>
- Date: Thu, 22 Jan 2009 14:09:01 -0800
Ok. I found this example:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="1.0">
<dict>
<key>Author</key>
<string>William Shakespeare</string>
<key>Lines</key>
<array>
<string>It is a tale told by an idiot,</string>
<string>Full of sound and fury, signifying nothing.</string>
</array>
<key>Birthdate</key>
<integer>1564</integer>
</dict>
</plist>
Would the string's just need to be quoted or is that redundant?
On Thu, Jan 22, 2009 at 2:05 PM, Joe Little <email@hidden> wrote:
> Previously, I had Property entries like:
>
> degree.list = ("PHD", "MS")
>
> My newer projects have XML-style plist files. I understand the basic
> key/string layout for single assignments, but I can't figure out what
> is the right way to do multiple assignments. I presume that:
>
> <key>degree.list</key>
> <string>("PHD", "MS")</string>
>
> is wrong on multiple levels. Does anyone have XML examples of array
> assignments to a key?
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden