Good point - Thanks
On Dec 4, 2009, at 1:32 PM, Alexander Spohr wrote: > > Am 04.12.2009 um 10:09 schrieb Philip Vallone: > >> Next I had a syntax error when declaring my NSArray and like you said it was >> pointing to an empty array: >> >> NSArray* result = [NSArray arrayWithArray:PerformXMLXPathQuery(xmlData, >> @"//mynode")]; > > Why are you putting the contents of the array you got into another array? > Just keep the array you get: > NSArray* result = PerformXMLXPathQuery(xmlData, @"//mynode"); > > atze > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
