Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML




On Nov 15, 2004, at 5:25 PM, Steve Mills wrote:

I've read the docs and I just don't understand. How can I take a .plist file, read and parse it, then iterate through each element? The .plist root is an array, each element in the array is a dictionary. Somewhere in the docs it illustrates how to use CFXMLTreeCreateFromData, but the resulting tree was nil. I'm totally confused about all the nodes and trees and property lists. Anybody have some sample source?

If you're trying to parse a plist file, use CFPropertyList instead of the vanilla CFXML parser.


Scott

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >XML (From: "Steve Mills" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.