objectsForXQuery: can return Foundation objects?
objectsForXQuery: can return Foundation objects?
- Subject: objectsForXQuery: can return Foundation objects?
- From: Jonathan del Strother <email@hidden>
- Date: Fri, 2 Nov 2007 12:06:04 +0000
According to the documentation, "objectsForXQuery:constants:error:
method returns an array potentially containing both NSXMLNode objects
and Foundation objects corresponding to the atomic types (NSNumber,
NSString, NSCalendarDate, and so on)".
Under what conditions will it return anything other than an NSArray of
NSXMLNodes? Do you have to manually post-process NSXMLDocuments
whenever you load them, re-setting the object values if you want to
get typed values out of objectsForXQuery ?
Jon
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden