On Mar 23, 2009, at 19:53 , Development wrote:

I'm using an an NSXMLParser to parse a document. some of the elements are as follows: <element property="value">Some Thing</ element> The problem is that I cannot seem to come up with the element's property. During the parse which callback is going to give me the property and it's value?

Attributes are provided in the ...didStartElement: delegate message.

http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSXMLParser_Class/Reference/Reference.html#/ /apple_ref/occ/instm/NSObject/ parser:didStartElement:namespaceURI:qualifiedName:attributes:

Marcel


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to